Post Reply 
Voyager Excel Programming Aid
03-09-2022, 11:39 AM (This post was last modified: 03-09-2022 11:44 AM by Thomas Klemm.)
Post: #6
RE: Voyager Excel Programming Aid
(03-09-2022 09:47 AM)damaltor Wrote:  I just thought that one for the 11c and the 16c would be nice

It is not Excel but maybe the DM10/DM11/DM12/DM15/DM16 programming tool is still useful for you.

You can select the model and enter a program like the following into the Mnemonics text field:
Code:
LBL A
x^2
PI
*
RTN

Press the « Encode button, then the Decode » button and tada, we get in the Code dump field:
Code:
001  LBL A        | 42,21,11
002  x^2          |   43  11
003  PI           |   43  26
004  *            |       20
005  RTN          |   43  32

It's easy to transform that into:
Code:
{ 42 21 11 }
{   43  11 }
{   43  26 }
{       20 }
{   43  32 }

Write that to a circle.15c file and load it into the 15C Simulator by Torsten Manz and save it again to get:
Code:
# ------------------------------------------------------------------------------
# HEWLETT·PACKARD 15C Simulator program
# Created with version 4.3.00
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------

   000 {             } 
   001 {    42 21 11 } f LBL A
   002 {       43 11 } g x²
   003 {       43 26 } g π
   004 {          20 } ×
   005 {       43 32 } g RTN

# ------------------------------------------------------------------------------

If you use one of these Voyager Calculators and press the Save memory button a file hp15c.txt is saved into your Download folder.
Rename it to something like circle.txt, search for the ram attribute and replace the "50" entries by the program code like this:
Code:

  "ram": [
    "",
    "42.21.11",
    "43.11",
    "43.26",
    "20",
    "43.32",
    "50",
    "50",
    "50",
Now you can use the Load memory button to load the program into the emulator.
It works similar for the other Voyager models.

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Voyager Excel Programming Aid - damaltor - 03-08-2022, 08:12 AM
RE: Voyager Excel Programming Aid - Thomas Klemm - 03-09-2022 11:39 AM



User(s) browsing this thread: 3 Guest(s)