From 996d148ed56e43ca4649e05d23d8493107efa86f Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 13 Jan 2016 14:45:55 -0800 Subject: [PATCH] fix usage of fpu/sys registers --- lips/Parser.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lips/Parser.lua b/lips/Parser.lua index 7919545..2bb4cba 100644 --- a/lips/Parser.lua +++ b/lips/Parser.lua @@ -170,17 +170,17 @@ function Parser:format_in(informat) elseif c == 't' and not args.rt then args.rt = self:register() elseif c == 'D' and not args.fd then - args.fd = self:register(fpu_registers) + args.fd = self:register(data.fpu_registers) elseif c == 'S' and not args.fs then - args.fs = self:register(fpu_registers) + args.fs = self:register(data.fpu_registers) elseif c == 'T' and not args.ft then - args.ft = self:register(fpu_registers) + args.ft = self:register(data.fpu_registers) elseif c == 'X' and not args.rd then - args.rd = self:register(sys_registers) + args.rd = self:register(data.sys_registers) elseif c == 'Y' and not args.rs then - args.rs = self:register(sys_registers) + args.rs = self:register(data.sys_registers) elseif c == 'Z' and not args.rt then - args.rt = self:register(sys_registers) + args.rt = self:register(data.sys_registers) elseif c == 'o' and not args.offset then args.offset = {'SIGNED', self:const()} elseif c == 'r' and not args.offset then