1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-11-14 17:39:03 -08:00

use (more standard) OR format for MOV

This commit is contained in:
Connor Olding 2015-12-24 23:43:36 -08:00
parent 905ca2fb5c
commit fbcd985e68

View file

@ -385,9 +385,8 @@ local instructions = {
-- pseudo-instructions
B = {4, 'r', '00o'}, -- BEQ R0, R0, offset
BAL = {1, 'r', '0Co', 17}, -- BGEZAL R0, offset
CL = {0, 'd', '00d0C', 32}, -- ADD RD, R0, R0
MOV = {0, 'dt', '0td0C', 32}, -- ADD RD, R0, RT
MOVE = {0, 'dt', '0td0C', 32}, -- ADD RD, R0, RT
CL = {0, 'd', '00d0C', 37}, -- OR RD, R0, R0
MOV = {0, 'ds', 's0d0C', 37}, -- OR RD, RS, R0
NEG = {0, 'dt', '0td0C', 34}, -- SUB RD, R0, RT
NOP = {0, '', '0'}, -- SLL R0, R0, 0
NOT = {0, 'ds', 's0d0C', 39}, -- NOR RD, RS, R0