© 2023 Torsten Manz mail_logo.gif 20x14

Mnemonic Converter

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

The Mnemonic Converter was developed by Nina Scholz.

Instructions

  1. Open the converter in a window/tab or as a popup.
  2. Paste a program in mnemonic format to the "Mnemonics" text area on the left.
  3. Press Convert and the "Key Codes" area shows the resulting program code.
  4. Correct all errors, if any.
  5. Press Copy to Clipboard and in PRGM mode paste (CtrlV or B3) the key codes into the HP-15C Simulator .
  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 right most comma or point 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 and the suppported commands are shown.
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 can not be converted, an error is shown.