|
|
@@ -16,7 +16,7 @@ asmc.add_instr(compiler.Instruction('CPY1 ', '0000_0101', 1, alias=['COPY1']))
|
|
|
asmc.add_instr(compiler.Instruction('CPY2 ', '0000_1010', 1, alias=['COPY2']))
|
|
|
asmc.add_instr(compiler.Instruction('CPY3 ', '0000_1111', 1, alias=['COPY3']))
|
|
|
|
|
|
-asmc.add_instr(compiler.Instruction('MOVE ', '0000_????'))
|
|
|
+asmc.add_instr(compiler.Instruction('MOVE ', '0000_????', alias=['MOV']))
|
|
|
asmc.add_instr(compiler.Instruction('ADD ', '0001_????'))
|
|
|
asmc.add_instr(compiler.Instruction('SUB ', '0010_????'))
|
|
|
asmc.add_instr(compiler.Instruction('AND ', '0011_????'))
|
|
|
@@ -36,9 +36,9 @@ asmc.add_instr(compiler.Instruction('ANDI ', '1110_??10', 1))
|
|
|
asmc.add_instr(compiler.Instruction('ORI ', '1110_??11', 1))
|
|
|
asmc.add_instr(compiler.Instruction('XORI ', '1100_??11', 1))
|
|
|
|
|
|
-asmc.add_instr(compiler.Instruction('SLL ', '1001_??00'))
|
|
|
-asmc.add_instr(compiler.Instruction('SRL ', '1001_??01'))
|
|
|
-asmc.add_instr(compiler.Instruction('SRA ', '1001_??10'))
|
|
|
+asmc.add_instr(compiler.Instruction('SLL ', '1001_??00', 1))
|
|
|
+asmc.add_instr(compiler.Instruction('SRL ', '1001_??01', 1))
|
|
|
+asmc.add_instr(compiler.Instruction('SRA ', '1001_??10', 1))
|
|
|
asmc.add_instr(compiler.Instruction('SRAS ', '1001_??11'))
|
|
|
asmc.add_instr(compiler.Instruction('LWHI ', '1010_??00', 3))
|
|
|
asmc.add_instr(compiler.Instruction('SWHI ', '1010_??01'))
|