Add SW instruction
This commit is contained in:
parent
ec86b3a76a
commit
a78309d997
|
@ -0,0 +1,9 @@
|
|||
from InsnRV32ISType import *
|
||||
|
||||
"""
|
||||
SW instruction
|
||||
"""
|
||||
|
||||
class InshSw(InsnRV32ISType):
|
||||
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, 0b010, 4)
|
Loading…
Reference in New Issue