Post Reply 
1,024 additional Registers on the CL
08-16-2016, 09:14 PM
Post: #44
RE: 1,024 additional Registers on the CL
Typo in manual: 1,2024 should be 1,024. :-)

Program below will clear a selective block of Y registers rather than all of them as CLYRG would do.

It is simply the BC routine from the PPC rom changed to use the Y registers. Input is a control word bbb.eee.ii, where ii is the increment used to clear registers 1, 2, 3, etc. apart. Default of 01 (which would be left off the control word completely) would clear all Y registers between bbb and eee inclusive. A value of 02 for ii would clear every OTHER register. A value of 05 would clear every fifth register, etc.

Code:
LBL YBC
SIGN
CLX
LBL 01
YSTO IND L
ISG L
GTO 01
RTN

Think that should work. NOTE: The actual code would put a four digit number after the YSTO instruction which I have left out.

Of course, the same modifications can be made to BI, BE, BM, etc., from the PPC rom.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 1,024 additional Registers on the CL - Gene - 08-16-2016 09:14 PM



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