renamed RVM to RV32M
This commit is contained in:
parent
7f3fb9b141
commit
38cb3f7669
@ -1,7 +1,7 @@
|
||||
if __name__ == '__main__':
|
||||
from . import *
|
||||
from .helpers import *
|
||||
from .instructions import RV32I, RVM
|
||||
from .instructions import RV32I, RV32M
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
@ -61,7 +61,7 @@ if __name__ == '__main__':
|
||||
FMT_PRINT = FMT_BOLD + FMT_MAGENTA
|
||||
|
||||
try:
|
||||
cpu = CPU(cfg, [RV32I, RVM])
|
||||
cpu = CPU(cfg, [RV32I, RV32M])
|
||||
loaded_exe = None
|
||||
for file in args.files:
|
||||
tk = cpu.get_tokenizer(RiscVInput.from_file(file))
|
||||
|
@ -2,7 +2,7 @@ from .InstructionSet import *
|
||||
from ..helpers import int_from_bytes, int_to_bytes, to_unsigned, to_signed
|
||||
|
||||
|
||||
class RVM(InstructionSet):
|
||||
class RV32M(InstructionSet):
|
||||
def instruction_mul(self, ins: 'LoadedInstruction'):
|
||||
INS_NOT_IMPLEMENTED(ins)
|
||||
|
@ -1,3 +1,3 @@
|
||||
from .InstructionSet import InstructionSet
|
||||
from .RVM import RVM
|
||||
from .RV32I import RV32I
|
||||
from .RV32M import RV32M
|
||||
from .RV32I import RV32I
|
||||
|
Loading…
Reference in New Issue
Block a user