Add LHU instruction
This commit is contained in:
parent
462e526e71
commit
42b8e5c245
|
@ -0,0 +1,9 @@
|
|||
from InsnRV32IITypeLoad import *
|
||||
|
||||
"""
|
||||
LHU instruction
|
||||
"""
|
||||
|
||||
class InsnLhu(InsnRV32IITypeLoad):
|
||||
def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED, RISCV_FORMAL_ALIGNED_MEM):
|
||||
super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED, RISCV_FORMAL_ALIGNED_MEM, 0b101, 2, False)
|
Loading…
Reference in New Issue