1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-11-14 19:39:03 -08:00
This commit is contained in:
Connor Olding 2015-12-02 10:20:32 -08:00
parent c2f436a161
commit c27aaa4008

View file

@ -881,7 +881,7 @@ function Parser:const(relative, no_label)
end
function Parser:format_in(informat)
args = {}
local args = {}
for i=1,#informat do
local c = informat:sub(i, i)
local c2 = informat:sub(i + 1, i + 1)
@ -1006,6 +1006,7 @@ function Parser:instruction()
elseif h == 'LA' then
local lui = instructions['LUI']
local addiu = instructions['ADDIU']
local args = {}
args.rt = self:register()
self:optional_comma()
local im = self:const()