diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dump.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/dump.lua b/lib/dump.lua index b049828f..5f32eb80 100644 --- a/lib/dump.lua +++ b/lib/dump.lua | |||
@@ -321,13 +321,11 @@ local function printsnap(tr, snap) | |||
321 | local ref = band(sn, 0xffff) - 0x8000 -- REF_BIAS | 321 | local ref = band(sn, 0xffff) - 0x8000 -- REF_BIAS |
322 | if ref < 0 then | 322 | if ref < 0 then |
323 | out:write(formatk(tr, ref)) | 323 | out:write(formatk(tr, ref)) |
324 | elseif band(sn, 0x80000) ~= 0 then -- SNAP_SOFTFPNUM | ||
325 | out:write(colorize(format("%04d/%04d", ref, ref+1), 14)) | ||
324 | else | 326 | else |
325 | if band(sn, 0x80000) ~= 0 then -- SNAP_SOFTFPNUM | 327 | local m, ot, op1, op2 = traceir(tr, ref) |
326 | out:write(colorize(format("%04d/%04d", ref, ref+1), 14)) | 328 | out:write(colorize(format("%04d", ref), band(ot, 31))) |
327 | else | ||
328 | local m, ot, op1, op2 = traceir(tr, ref) | ||
329 | out:write(colorize(format("%04d", ref), band(ot, 31))) | ||
330 | end | ||
331 | end | 329 | end |
332 | out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME | 330 | out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME |
333 | else | 331 | else |