2020-08-10 16:44:08 +08:00
|
|
|
from InsnRV32IITypeLoad import *
|
|
|
|
|
|
|
|
"""
|
|
|
|
LHU instruction
|
|
|
|
"""
|
|
|
|
|
|
|
|
class InsnLhu(InsnRV32IITypeLoad):
|
2020-08-12 13:54:13 +08:00
|
|
|
def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_ALIGNED_MEM):
|
|
|
|
super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_ALIGNED_MEM, 0b101, 2, False)
|