1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-05-05 19:03:27 -07:00

reverse argument order in JALR

the general argument order is d,s,t and this should not be an exception
This commit is contained in:
Connor Olding 2015-12-27 02:44:53 -08:00
parent 5f9be52d35
commit d217ff8147

View File

@ -176,7 +176,7 @@ local instructions = {
J = {2, 'I', 'I'},
JAL = {3, 'I', 'I'},
JALR = {0, 'sd', 's0d0C', 9},
JALR = {0, 'ds', 's0d0C', 9},
MTHI = {0, 's', 's000C', 17},
MTLO = {0, 's', 's000C', 19},
@ -422,9 +422,9 @@ local instructions = {
LA = {},
-- variable arguments
PUSH = 'PUSH',
POP = 'POP',
JPOP = 'JPOP',
PUSH = {},
POP = {},
JPOP = {},
ABS = {}, -- BGEZ NOP SUB?
MUL = {}, -- MULT MFLO