Skip to content

Instantly share code, notes, and snippets.

@wulab
Last active December 31, 2022 16:00
Show Gist options
  • Save wulab/67af23f27bc3332ce071192352631424 to your computer and use it in GitHub Desktop.
Save wulab/67af23f27bc3332ce071192352631424 to your computer and use it in GitHub Desktop.

HP Calculator S/N Decoder

Pre-1996 models only. The format of their serial numbers is:

YYWWCNNNNN

where:

  • YY is the year number
  • WW is the week number
  • C is the country code
  • NNNNN is the manufacture number

Usage

Enter the first 4 digits of a serial number (YYWW):

  • f 6
  • 2422 R/S

Registers

R0, R1, R2, R3, R4, R5

Pre-defined Registers

  • 01.011960 STO 0
  • 1 EEX 6 CHS STO 1
  • 100 STO 2

Keystrokes

  • 01– STO 3
  • 02– RCL 2
  • 03– ÷
  • 04– g INTG
  • 05– STO 4
  • 06– RCL 2
  • 07– ×
  • 08– RCL 3
  • 09– x<>y
  • 10– -
  • 11– STO 5
  • 12– RCL 4
  • 13– RCL 1
  • 14– ×
  • 15– RCL 0
  • 16– +
  • 17– RCL 5
  • 18– 7
  • 19– ×
  • 20– g DATE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment