User guide
V
alid
Addressing Modes and File
T
ypes for Instruction Parameters
C–3
Available Addressing Modes
The following addressing modes are available:
• immediate
• direct
• indirect
Immediate Addressing
Indicates
that a constant is a valid file type.
Direct Addressing
The
data stored in the specified address is used in the instruction. For example:
N7:0 T4:8.ACC
ST20:5
Indexed Direct Addressing
You may specify an address as being indexed by placing the “#” character in front of
the address. When an address of this form is encountered in the program, the
processor takes the element number of the address and adds to it the value contained
in the Index Register S:24, then uses the result as the actual address. For example:
#N7:10 where S:24 = 15
The actual address used by the instruction is N7:25.
Reference