The Museum of HP Calculators


Chuck-A-Luck for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the HP-67 Games of Chance Solution Book. This program was ported to the HP-41C by reading with the HP-41C card reader and the card reader may be required for operation of this program. 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 "CHKLCK"
 02 LBL 10
 03 LBL A
 04 7DSP0
 05 INT
 06 LASTX
 07 X#Y?
 08 GTO 19
 09 7DSP3
 10 STO 00
 11 1
 12 X>Y?
 13 GTO 19
 14 CLX
 15 7
 16 X<=Y?
 17 GTO 19
 18 CLX
 19 STO 25
 20 STO 03
 21 XEQ 01
 22 XEQ 01
 23 XEQ 01
 24 RCL 25
 25 X=0?
 26 GTO 00
 27 RCL 01
 28 *
 29 ST+ 04
 30 RCL 03
 31 +
 32 RTN
 33 LBL 00
 34 RCL 01
 35 ST- 04
 36 RCL 03
 37 +
 38 CHS
 39 RTN
 40 LBL 01
 41 RCL 00
 42 RCL 05
 43 PI
 44 +
 45 X^2
 46 FRC
 47 STO 05
 48 6
 49 *
 50 1
 51 +
 52 INT
 53 X=Y?
 54 7ISZ
 55 ST+ 03
 56 10
 57 ST/ 03
 58 RTN
 59 LBL 11
 60 LBL B
 61 7DSP0
 62 INT
 63 LASTX
 64 X#Y?
 65 GTO 19
 66 STO 01
 67 RTN
 68 LBL 13
 69 LBL D
 70 CLX
 71 STO 04
 72 LBL 12
 73 LBL C
 74 7DSP0
 75 RCL 04
 76 RTN
 77 LBL 14
 78 LBL E
 79 PI
 80 +
 81 STO 05
 82 GTO 14
 83 STOP
 84 END

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