added scaffolding form RVM instruction set
parent
7dcbd59d34
commit
d8d53da774
@ -0,0 +1,28 @@
|
|||||||
|
from .InstructionSet import *
|
||||||
|
from ..helpers import int_from_bytes, int_to_bytes, to_unsigned, to_signed
|
||||||
|
|
||||||
|
|
||||||
|
class RVM(InstructionSet):
|
||||||
|
def instruction_mul(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_mulh(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_mulhsu(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_mulhu(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_div(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_divu(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_rem(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
||||||
|
|
||||||
|
def instruction_remu(self, ins: 'LoadedInstruction'):
|
||||||
|
INS_NOT_IMPLEMENTED(ins)
|
@ -0,0 +1,3 @@
|
|||||||
|
from .InstructionSet import InstructionSet
|
||||||
|
from .RVM import RVM
|
||||||
|
from .RV32I import RV32I
|
Loading…
Reference in New Issue