Post Reply 
Somebody having a clever substitute for the CLRGX command?
09-29-2024, 07:37 PM
Post: #2
RE: Somebody having a clever substitute for the CLRGX command?
(09-29-2024 06:14 PM)emefff Wrote:  substitute function for the CLRGX command for use on a non-CX HP41? I wouldn't mind it using X-functions, but HEPAX commands are out of the question.

If I'd write this myself, I'd probably do a loop over the given register interval, just counting up the numbers, and set the register with those numbers equal to zero.
I think this is the way to go.

The X-Functions module won't help here.
Ok, you could construct something using REGMOVE if you have a predefined block of cleared registers beforehand,
but that would be more effort than just running a simple loop for the task.

(09-29-2024 06:14 PM)emefff Wrote:  Is assume there is a better way, possibly with a command I don't know?
Not without any external hardware IMHO.

-- Ray
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Somebody having a clever substitute for the CLRGX command? - Raymond Del Tondo - 09-29-2024 07:37 PM



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