Add SB instruction

This commit is contained in:
Donald Sebastian Leung 2020-08-11 14:50:04 +08:00
parent 0f71c1dad1
commit c368060315
1 changed files with 9 additions and 0 deletions

9
insns/InsnSb.py Normal file
View File

@ -0,0 +1,9 @@
from InsnRV32ISType import *
"""
SB instruction
"""
class InsnSb(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, 0b000, 1)