INSTRUCTION DESCRIPTIONS
A - 96 INSTRUCTION SET DETAILS MOTOROLA
Instruction Format:
DO S, expr
Opcode:
Instruction Fields:
S=6-bit Source operand = DDDDDD,
expr=16-bit Absolute Address in 24-bit extension word
S
Source D D D D D D S/L Source D DDDDD
X0 000100 no SR 111001
X1 000101 no OMR 111010
Y0 000110 no SP* 111011
Y1 000111 no SSL** 111101
A0 001000 no LA 111110
B0 001001 no LC 111111
A2 001010 no R0-R7 010r r r
B2 001100 no N0-N7 011nnn
A1 001101 no M0-M7 100mmm
A 001110 yes [see Notes on page A-97]
B 001111 yes [see Notes on page A-97]
where rrr=Rn register
where nnn=Nn register
where mmm=Mn register
*For DO SP, expr The actual value that will be loaded into the loop counter (LC) is
the value of the stack pointer (SP) before the execution of the
DO instruction, incremented by 1.
Thus, if SP=3, the execution of the DO SP,expr instruction will load the loop
counter (LC) with the value LC=4.
**For DO SSL, expr The loop counter (LC) will be loaded with its previous value
which was saved on the stack by the DO instruction itself.
23 20 19 16 15 8 7 0
0000011 011DDDDDDD0000000
ABSOLUTE ADDRESS EXTENSION
DO Start Hardware Loop DO