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

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
This commit is contained in:
Connor Olding 2016-03-13 20:22:35 -07:00
parent 0b5331ff5c
commit 54f28dc333

View file

@ -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'