This commit is contained in:
leap123 2023-02-06 17:31:56 +07:00
parent 135b20a309
commit 71324b8898

View File

@ -255,7 +255,7 @@ class Converter:
if insn == 'nop':
self.e.nop()
elif insn in ['addi', 'subi' 'div', 'rem', 'andi', 'ori', 'xori', 'slli', 'srli']:
elif insn in ['addi', 'subi', 'div', 'rem', 'andi', 'ori', 'xori', 'slli', 'srli']:
rd, rs, imm = operands
op = self.convert_arithmetic_op(insn)
if rd == rs: