Skip to main content

HP-41CX Emulator Tools

px-41cx
px-41cx

Description #

The HP-41CX Emulator Tools are yet another Tool to manage HP-41CX Emulator tools.

Advantages
Stand alone program that runs on Windows, Linux and macOS without the need of an Excel installation.
Runs as command line tool and can be used in scripts for automated conversions.
Source code available on SourceForge.
Disadvantages:
Currently far less functionality then PX41CX_Interface.xls, DM41 programming tool or HP41UC.

Decode #

The decode option decodes a dump file from the PX41CX or DM41X into readable source code. It’s a command line tool which takes two parameter.

../../bin/hp41cx_tools-main --TRACETO=FILE  --decode in_Numberpx41 out_Number.focal

Example in_Number.px41: #

PX41
00 01230000000957 91230000000957 01230000000000 91230000000955 
08 4b000000000000 9123fffffffd45 00000000001000 00000000000000 
0c 00000000001194 1a70016919c193 0000002c048000 00000000007000 
190 00000000000000 00000000000000 00000000000000 00000000c20120 
194 141536c0000900 1c111a12131b1c 1534111a121335 1c1112131b1c14 
198 12131b1c141533 12131b14153211 131b1415311c11 01131010301112 
19c 03000000000002 01230000000047 91230000000047 01230000000957 
1a0 91230000000957 01230000000000 91230000000955 00000000000000 
A: 09999999999000  B: 0000002c0480fd  C: 000000002c00fd
S: 00101010000000
M: 000018a5ff83d3  N: 00000000000000  G: 20
EOF

Example out_Number.focal #

; STACK =  1.230000000E-43 -1.230000000E-43  1.230000000E+00 -1.230000000E-45
; ALPHA = '                        '
; SIZE =  100
; A: 09999999999000  B: 0000002c0480fd  C: 000000002c00fd
; S: 00101010000000
; M: 000018a5ff83d3  N: 00000000000000  G: 20
; REG001 =  3.000000000E+02  1.230000000E+47 -1.230000000E+47  1.230000000E-43
; REG005 = -1.230000000E-43  1.230000000E+00 -1.230000000E-45  0.000000000E+00
; PRG = 19B .. 193
LBL 00              ; 01
300                 ; 131010
STO 00              ; 30
123 E45             ; 1112131B1415
STO 01              ; 31
-123 E45            ; 1C1112131B1415
STO 02              ; 32
123 E-45            ; 1112131B1C1415
STO 03              ; 33
-123 E-45           ; 1C1112131B1C1415
STO 04              ; 34
1.23                ; 111A1213
STO 05              ; 35
-1.23 E-45          ; 1C111A12131B1C1415
STO 06              ; 36
END                 ; C00009
GLOBAL              ; C2
LBL 00              ; 01
RCL 00              ; 20

Installation guides: #

2024


Install macOS

·
How-To install the HP-41CX emulator tools on macOS.

Install Linux

·
How-To install the HP-41CX emulator tools on Linux.

Install Windows

·
How-To install the HP-41CX emulator tools on Windows.