Post Reply 
Somebody having a clever substitute for the CLRGX command?
09-30-2024, 06:07 PM
Post: #11
RE: Somebody having a clever substitute for the CLRGX command?
(09-30-2024 04:33 PM)Didier Lachieze Wrote:  If you don’t mind something slower but also shorter …

Saving 2 precious bytes:
Code:
01▸LBL "CLRGX"
02 ABS
03 CLX
04▸LBL 00
05 STO IND L
06 ISG L
07 GTO 00
08 +
09 END

It consumes the X register without leaving it in L.
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? - Thomas Klemm - 09-30-2024 06:07 PM



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