Post Reply 
Multi (i) register techniques help, please.
06-01-2018, 11:21 AM
Post: #13
RE: Multi (i) register techniques help, please.
(05-30-2018 09:44 PM)Dieter Wrote:  Example: multiply the contents of the registers indexed by R3 and R4.

Code:
RCL 3
STO I
RCL(i)
RCL 4
STO I
R↓
RCL(i)
x

If only two index registers are required, one of them may be "I". So only when the second index register is used it has to be temporarily get swapped with "I".

Example: mulitply the contents of the registers indexed by R2 and RI:

Code:
RCL 2
X<>I
RCL(i)
X<>I
R↓
X<>I
RCL(i)
x

This method has an advantage if in the most cases "I" is used as the index register so that the second one (here R2) that requires the above code is used much less.

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


Messages In This Thread
RE: Multi (i) register techniques help, please. - Dieter - 06-01-2018 11:21 AM



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