HP50G - Library ROMID question
|
07-01-2019, 09:29 PM
Post: #4
|
|||
|
|||
RE: HP50G - Library ROMID question
The below version is definitely overkill for an application like this, and is almost twice the size of Joe's excellent (definitely not fugly) program. But since I know you (Jeff) are experimenting with SysRPL/Saturn/Debug4x right now, I thought I'd show an example that uses a SysRPL wrapper around a Saturn code object to directly extract the number from the library on the stack. The exact location of the library number is dependent on the length of the library title, so the program has to assess the title field before extracting it:
Code: RPL It shows several techniques that are common to this type of coding, including: - checking the stack for appropriate arguments - allocating memory for results prior to executing a Saturn code object - use of MASD skip structure for conditional execution - simple stack manipulation in Saturn code |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP50G - Library ROMID question - JeffB - 07-01-2019, 12:08 PM
RE: HP50G - Library ROMID question - Joe Horn - 07-01-2019, 03:59 PM
RE: HP50G - Library ROMID question - rprosperi - 07-01-2019, 11:01 PM
RE: HP50G - Library ROMID question - DavidM - 07-02-2019, 02:36 AM
RE: HP50G - Library ROMID question - rprosperi - 07-02-2019, 03:24 AM
RE: HP50G - Library ROMID question - JeffB - 07-01-2019, 08:43 PM
RE: HP50G - Library ROMID question - DavidM - 07-01-2019 09:29 PM
RE: HP50G - Library ROMID question - JeffB - 07-02-2019, 10:46 AM
|
User(s) browsing this thread: 1 Guest(s)