The Museum of HP Calculators


Hexadecimal - Decimal Conversions for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the Standard Applications. This program was entered and uploaded by Tony Duell.

This program is supplied without representation or warranty of any kind. Tony Duell, Hewlett Packard and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Documentation Information (CD or source code)
How to get this Program to your Calculator (via HP-IL, disk, wand, and fingers)
Download Binary (.raw) program for disk or PC HP-IL Card download
Download Hexadecimal (.dat) program for Serial Port download

Program Listing

LINE  KEYS
 01 LBL "HEXDEC"
 02 LBL E
 03 FS?C 22
 04 CF 23
 05 FS? 23
 06 GTO 04
 07 STO 19
 08 XEQ 08
 09 +
 10 LBL 01
 11 LASTX
 12 ISG 16
 13 LBL 00
 14 1 E2
 15 /
 16 INT
 17 X#0?
 18 GTO 01
 19 CLA
 20 LASTX
 21 LBL 03
 22 1 E2
 23 *
 24 ARCL IND X
 25 FRC
 26 DSE 16
 27 GTO 03
 28 SF 23
 29 ASTO X
 30 BEEP
 31 RTN
 32 LBL 04
 33 ASTO 16
 34 .00802
 35 STO 17
 36 0
 37 STO 19
 38 LBL 05
 39 0
 40 STO 18
 41 " "
 42 ASTO Y
 43 ARCL 16
 44 ASTO 16
 45 ASHF
 46 ASTO X
 47 X=Y?
 48 GTO 08
 49 CLA
 50 ASTO Y
 51 X=Y?
 52 GTO 05
 53 LBL 06
 54 RCL IND 18
 55 X=Y?
 56 GTO 07
 57 RDN
 58 ISG 18
 59 LBL 00
 60 GTO 06
 61 LBL 07
 62 RCL 18
 63 RCL 17
 64 INT
 65 10^X
 66 *
 67 ST+ 19
 68 ISG 17
 69 GTO 05
 70 LBL 08
 71 16
 72 STO 18
 73 1
 74 STO 17
 75 0
 76 STO 16
 77 1 E2
 78 STO 20
 79 FS? 23
 80 GTO 09
 81 RCL 18
 82 X<> 20
 83 STO 18
 84 LBL 09
 85 RCL 19
 86 LBL 10
 87 RCL 20
 88 /
 89 STO 19
 90 FRC
 91 RCL 20
 92 *
 93 RCL 17
 94 *
 95 ST+ 16
 96 RCL 18
 97 ST* 17
 98 RCL 19
 99 INT
100 X#0?
101 GTO 10
102 X<> 16
103 CLA
104 FS?C 23
105 BEEP
106 RTN
107 LBL A
108 CF 22
109 CF 23
110 "0"
111 ASTO 00
112 "1"
113 ASTO 01
114 "2"
115 ASTO 02
116 "3"
117 ASTO 03
118 "4"
119 ASTO 04
120 "5"
121 ASTO 05
122 "6"
123 ASTO 06
124 "7"
125 ASTO 07
126 "8"
127 ASTO 08
128 "9"
129 ASTO 09
130 "A"
131 ASTO 10
132 "B"
133 ASTO 11
134 "C"
135 ASTO 12
136 "D"
137 ASTO 13
138 "E"
139 ASTO 14
140 "F"
141 ASTO 15
142 "READY"
143 ASTO X
144 END

Go back to the HP-41 software library
Go back to the general software library
Go back to the main exhibit hall