3.1 Basic Functionality
Registers
3-29
3
CPU Unit Functionality
Attaching an Index to a Quadruple-length Integer or a Double-precision
Real Number Register
Using an index is the same as adding the value of i or j to the register address.
For example, if j = 2, MQ0000000j is the same as MQ0000002. Similarly, if j = 2, MD0000000j is the
same as MD0000002.
Quadruple-length integers and double-precision real numbers use a region that is 4 words in size. For
example, when using MQ0000000j with both j = 0 and j = 2, the two-word area of MW0000002 and
MW0000003 will overlap. Be careful of overlapping areas when indexing quadruple-length integer or
double-precision real number register addresses.
If j = 0, MQ0000000j is MQ0000000.
If j = 2, MQ0000000j is MQ0000002.
Quadruple-length Integer
Upper 2 words
Lower 2 words
Upper 2 words
Lower 2 words
If j = 0, MD0000000j is MD0000000.
If j = 2, MD0000000j is MD0000002.
Double-precision Real Number
Upper 2 words
Lower 2 words
Upper 2 words
Lower 2 words
MW0000003
MW0000002
MW0000005
MW0000004
MW0000001
MW0000000
MW0000003
MW0000002
MW0000003
MW0000002
MW0000005
MW0000004
MW0000001
MW0000000
MW0000003
MW0000002
Note