I'm trying to use the Nut decoder to convert a memory dump from my DM16 into readable code, to save.
The decoder is showing me ??? for the first 7 lines of my program; the rest is fine.
Here's what I got from the serial console:
Code: Select all
DM16
04 f0000000c00000 f0000000c00020 00000000000080 eae00000000000
08 00000000000000 00000000000000 5c008034000000 00000000000000
18 00000000000000 0000000000007f 00000000000000 00000000000000
e0 00000000008120 00000000000f00 00000000000000 00000000000000
f8 00000000000000 0000000000d441 a160aa61024081 ccf1610142e600
fc 81f060d6d7800a 00000000000000 000000000002f9 00000000000000
A: 00000000000000 B: f0000000c00000 C: eae00000000000
S: 00000010000000
M: 0000000000000c N: 0000000000000c G: 02
I entered the above on the LHS, and clicked Decode. In the RHS code dump, I get:
Code: Select all
001 ??? | ???
002 ??? | ???
003 ??? | ???
004 ??? | ???
005 ??? | ???
006 ??? | ???
007 ??? | ???
008 LBL 0 | 43 22 0
009 B? | 42 6
010 GTO 2 | 22 2
011 LBL 1 | 43 22 1
012 RCL 1 | 45 1
013 1 | 1
014 + | 40
015 STO 1 | 44 1
016 GTO 0 | 22 0
017 LBL 2 | 43 22 2
018 RCL 1 | 45 1
019 PSE | 43 34
020 RCL 0 | 45 0
021 DSZ | 43 23
022 GTO 1 | 22 1
023 RTN | 43 21
From line 8 to the end, it's correct. But lines 1–7 clearly aren't. My real lines 1–7 are:
Code: Select all
LBL A
STO 0
#B
STO I
RCL 0
0
STO 1
Am I doing something wrong?
thanks very much.