Version 5.1.00, Build 6608
© 2026 Torsten Manz
HP-15C Simulator
For Windows, Linux and macOS

# Mnemonic Converter

On the Internet HP-15C programs are often presented as mnemonics. The Mnemonic Converter translates them into valid HP-15C key code sequences. The keycode sequences can be copied and pasted into the Simulator in PRGM mode.

The Mnemonic Converter has been developed by Nina Scholz.

## Instructions

1. Open the converter in a new window/tab or as a popup.
2. Paste a program in mnemonic format into the Mnemonics text area on the left.
3. Press Convert and the resulting program code will appear in the Key Codes area.
4. Correct any errors.
5. Press Copy to Clipboard and paste (Ctrl–V or B3) the key codes into the HP-15C Simulator in PRGM mode.
6. Press Clear to clear the Mnemonics and the Key Codes area.

## Examples

Examples of Mnemonics and formats understood by the converter:

Mnemonics | Key Codes | Description
--- | --- | ---
`GoTo .9 Goto ,9 GTO 19` | `{ 22 48 9 } GTO .9` | Upper and lower case letters can be mixed. You can use a comma or a period to address labels (and registers) above 9. You can use short and long names.
`123.456,789 123,456.789` | `{ 1 } 1 { 2 } 2 { 3 } 3 { 4 } 4 { 5 } 5 { 6 } 6 { 48 } . { 7 } 7 { 8 } 8 { 9 } 9` | Numbers are converted into a sequence of digits. The rightmost comma or period is interpreted as the decimal point.
`ISG 8 STO ENTER STO RAN#` | `{ 42 6 8 } f ISG 8 { 44 36 } STO RAN# { 44 36 } STO RAN#` | Uncheck "One mnemonic per line" to allow multiple mnemonics per line.
`x square` | `x square ⮤ Error in line 014 The command X is unknown. Valid commands are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, SQR, e^x, 10^x, y^x, 1/x, CHS, /, GTO, EEX, *, R/S, GSB, R down, x><y, ENTER, -, f, g, STO, uSTO (USER mode), RCL, …` | If a command is unknown, an error is displayed along with the supported commands.
`g TEST 45` | `TEST 45 ⮤ Error in line 042 The 2nd argument is invalid: 45 is not a parameter of TEST. Valid parameters are: 0 (x!=0?), 1 (x>0?), 2 (x<0?), 3 (x>=0?), 4 (x<=0?), 5 (x=y?), 6 (x!=y?), 7 (x>y?), 8 (x<y?), 9 (x>=y?)` | If an mnemonic cannot be converted, an error is displayed.