INSTRUCTION DESCRIPTIONS
A - 216 INSTRUCTION SET DETAILS MOTOROLA
Example: :
MOVEM P:(R5+N5), LC :move P:(R5+N5) into the loop counter (LC)
:
Explanation of Example: Prior to execution, the 16-bit loop counter (LC) register con-
tains the value $0000, and the 24-bit program (P) memory location P:(R5+N5) contains
the value $000116. The execution of the MOVEM P:(R5+N5), LC instruction moves the
16 LS bits of the 24-bit program (P) memory location P:(R5+N5) into the 16-bit LC regis-
ter.
Condition Codes:
For D=SR operand:
S — Set according to bit 7 of the source operand
L — Set according to bit 6 of the source operand
E — Set according to bit 5 of the source operand
U — Set according to bit 4 of the source operand
N — Set according to bit 3 of the source operand
Z — Set according to bit 2 of the source operand
V — Set according to bit 1 of the source operand
C — Set according to bit 0 of the source operand
For DSR operand:
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if data limiting has occurred during the move
Before Execution After Execution
P:(R5 + N5) $000116
LC LC
$0000 $0116
$000116
P:(R5 + N5)
MR CCR
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LF DM T ** S1 S0 I1 I0 SLEUNZVC
MOVEM Move Program Memory MOVEM