From 54f28dc333c3f5d820a83aff436c41618aa2869f Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 13 Mar 2016 20:22:35 -0700 Subject: [PATCH] don't strip 0x80 prefix from .ORG addresses the rest of the code seems to handle this fine, since setting options.offset was bypassing it anyway --- lips/Dumper.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lips/Dumper.lua b/lips/Dumper.lua index fb54c93..e1e3c42 100644 --- a/lips/Dumper.lua +++ b/lips/Dumper.lua @@ -99,7 +99,7 @@ function Dumper:add_directive(fn, line, name, a, b) t.kind = 'goto' t.addr = a insert(self.commands, t) - self.pos = a % 0x80000000 + self.pos = a self:advance(0) elseif name == 'ALIGN' then t.kind = 'ahead'