Posts: 1,162
Threads: 26
Joined: Aug 2005
To go from RAW (i.e. a binary HP41 program) to a listing, you can use the prog41 program in my LIF utilities for Linux. It should handle most synthetics correctly, and it lets you load files of names for XROM commands, rather than just displaying them as XROM nn,ff (but it does that if you haven't specified a name).
IIRC one of the other programs in the LIF utilities for Linux distribution will make a suitable file of names from an HP41 ROM module dump if you don't want to make the file by hand.
Posts: 858
Threads: 80
Joined: Feb 2009
EXTENDED I/O contains XROM 23,39 OUTXB
X?Y? is "X # Y?", content of register X not equal content of register Y?
XROM "D" is following:
01 LBL "D"
02 CODE /* an MCode routine */
03 CLA
04 X<> [ /* M */
05 256
06 ALENG
07 CHS
08 LBL 13
09 RDN
10 ST* Y
11 R^
12 X0? /* X .ne. Zero? */
13 ATOXX
14 ST+ Z
15 X<> L
16 ISG X
17 "" /* this is a NOP */
18 X<0?
19 GTO 13
20 R^
21 R^
22 AOFF
23 RTN
The MCode routine CODE is from "MCode made easy" IIRC.
Ciao.....Mike