Post Reply 
HP49-50G: HALT command as assigned key?
11-28-2021, 09:40 AM
Post: #4
RE: HP49-50G: HALT command as assigned key?
(11-27-2021 09:18 PM)Joe Horn Wrote:  Here's one way to put a bare HALT on the stack. Put { HALT } on the stack. Then execute 256.03 MENU and press COMP→ DROP COMP→ DROP.

The first COMP→ DROP leaves the System RPL program :: xHALT ; on the stack. The second COMP→ DROP explodes the program and leaves the xHALT by itself.

I find it interesting that the :: xHALT ; System RPL program takes up 7.5 bytes while the bare xHalt takes 12.5 bytes. Of course, you need the bare command for the assigned key to have the desired behavior, but still interesting.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP49-50G: HALT command as assigned key? - Wes Loewer - 11-28-2021 09:40 AM



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