Sunday, October 5, 2025

HP 41C/DM41X and HP 42S/DM42: Conversions

HP 41C/DM41X and HP 42S/DM42: Conversions


The program CONV has the "standard" conversions:



inches (IN) <-> centimeters (CM)

gallons (GAL) <-> liters (L)

pounds (LB) <-> kilograms (KG)

Fahrenheit (°F) <-> Celsius (°C)



Source: HP 67 Manual (Useful Conversion Factors, back cover). April 1977.



HP 41C/DM41: CONV41


Download raw file: CONV 41 Version


Custom menu:

Key: A (Σ+), B (1/x), C (√x), D (LOG), E (LN)

1st Level (to US): →IN, →GAL, →LB, →°F, HELP

2nd Level (to SI): →CM, →L, →KG, →°C, EXIT

(184 bytes)


01▸LBL "CONV"

02 SF 27

03 CF 01

04 RTN

05▸LBL A

06 2.54

07 FS? 01

08 1/X

09 /

10 CF 01

11 RTN

12▸LBL a

13 SF 01

14 GTO A

15▸LBL B

16 3.785411784

17 FS? 01

18 1/X

19 /

20 CF 01

21 RTN

22▸LBL b

23 SF 01

24 GTO B

25▸LBL C

26 .45359237

27 FS? 01

28 1/X

29 /

30 CF 01

31 RTN

32▸LBL c

33 SF 01

34 GTO C

35▸LBL D

36 1.8

37 *

38 32

39 +

40 RTN

41▸LBL d

42 32

43 -

44 1.8

45 /

46 RTN

47▸LBL E

48 CF 27

49 RTN

50▸LBL e

51 SF 21

52 "A >IN a >CM"

53 AVIEW

54 "B >GAL b >L"

55 AVIEW

56 "C >LB c> KG"

57 AVIEW

58 "D >F d >C"

59 AVIEW

60 CF 21

61 RTN

62 END



HP 42S/DM42/Free 42: CONV42


Download raw file:  CONV 42 Version


Custom menu:

1st Level (to US): →IN, →GAL, →LB, →°F

2nd Level (to SI): →CM, →L, →KG, →°C

The arrow keys (↓) and (↑) toggle the menu.

To exit the program, press [EXIT].


00 { 219-Byte Prgm }

01▸LBL "CONV"

02▸LBL A

03 MENU

04 "→IN"

05 KEY 1 XEQ 01

06 "→GAL"

07 KEY 2 XEQ 02

08 "→LB"

09 KEY 3 XEQ 03

10 "→°F"

11 KEY 4 XEQ 04

12 KEY 7 GTO B

13 KEY 8 GTO B

14 KEY 9 GTO 99

15▸LBL 20

16 STOP

17 GTO 20

18▸LBL B

19 MENU

20 "→CM"

21 KEY 1 XEQ 05

22 "→L"

23 KEY 2 XEQ 06

24 "→KG"

25 KEY 3 XEQ 07

26 "→°C"

27 KEY 4 XEQ 08

28 KEY 7 GTO A

29 KEY 8 GTO A

30 KEY 9 GTO 99

31▸LBL 21

32 STOP

33 GTO 21

34▸LBL 99

35 CLMENU

36 EXITALL

37 RTN

38▸LBL 01

39 2.54

40 /

41 RTN

42▸LBL 02

43 3.785411784

44 /

45 RTN

46▸LBL 03

47 0.45359237

48 /

49 RTN

50▸LBL 04

51 1.8

52 ×

53 32

54 +

55 RTN

56▸LBL 05

57 2.54

58 ×

59 RTN

60▸LBL 06

61 3.785411784

62 ×

63 RTN

64▸LBL 07

65 0.45359237

66 ×

67 RTN

68▸LBL 08

69 32

70 -

71 1.8

72 /

73 RTN

74 .END.


Eddie


All original content copyright, © 2011-2025. Edward Shore. Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited. This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author.

HP 41C/DM41X and HP 42S/DM42: Conversions

HP 41C/DM41X and HP 42S/DM42: Conversions The program CONV has the "standard" conversions: inches (IN) <-> centime...