Post Reply 
HP 41 - branching to local label and return stack - FINAL RESULTS AND PROGRAMS
05-23-2019, 11:38 PM (This post was last modified: 05-23-2019 11:47 PM by Sylvain Cote.)
Post: #32
RE: HP 41 - branching to local label and return stack
(05-23-2019 12:11 PM)Artur - Brasil Wrote:  Well, for lines 51 and 57, you typed: XEQ ALPHA LR ALPHA and same to other line? The calculator so showed XROM "LR" ?!!
To keep it simple, an HePaX module behaves like ROM but with RAM.
All files in HePaX RAM gets an entry in the module FAT table and thus get a XROM number.
In my case ...
  • I first copied the LR program from main RAM to HePaX RAM,
  • then deleted the LR program from main RAM
  • finally, I keyed in my test program in main RAM.
    At line 51, when I keyed XEQ "LR" ...
    • the HP-41 OS scanned the main RAM to find the global label
    • when not finding it, it started to scan ROM spaces (which HePaX RAM resides)
    • when he found it in HePaX RAM FAT, it then replaced the line with it's XROM (eXecute in ROM) equivalent
    • in my case the XEQ "LR" line (hex: 1E F2 4C 52)
      was replaced by XROM "LR" (XROM 11,19 or hex: A2 D3 or bin: 10100 01011 010011)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 41 - branching to local label and return stack - Sylvain Cote - 05-23-2019 11:38 PM



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