6. Confirmation that this is PIC18¶
Not inference. Sample from the One at 0x20030, and note the header at 0x20000 is
data, not code:
020000: cd d8 (checksum, not an instruction)
...
020008: 48 47 (magic, not an instruction)
02000a: 1c ef 75 f1 GOTO 0x02ea38
02000e: 12 00 RETURN
020030: 0f 01 MOVLB 0xf
020032: 14 0e MOVLW 0x14
020034: 5f 6f MOVWF 0x5f,BANKED
020036: 37 ec 6c f1 CALL 0x02d86e
02003a: 02 01 MOVLB 0x2
02003c: c7 6b CLRF 0xc7,BANKED
...
020050: 04 01 MOVLB 0x4
020052: 40 0e MOVLW 0x40
020054: 11 6f MOVWF 0x11,BANKED
020056: 28 0e MOVLW 0x28
020058: 12 6f MOVWF 0x12,BANKED
Opcode high-byte histograms:
| One 3.4 | 600 0.2 | |
|---|---|---|
0x01 MOVLB |
3458 | 3684 |
0x0E MOVLW |
3911 | 3369 |
0x6F MOVWF banked |
1829 | 1949 |
0x6E MOVWF |
1442 | (in tail) |
0xEC CALL |
1183 | 1194 |
0xD0 BRA |
712 | 757 |
Textbook C-compiler PIC18 profile, consistent with the description in discussion #7 of
code "compiled from C with minimal hand crafted assembly". DEADDEAD appears as linker
fill in the One image.
Section 5 | the archive | section 7. Section 6 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.