INSTRUCTION DESCRIPTIONS
MOTOROLA INSTRUCTION SET DETAILS A - 165
Example: :
ABS B #$18,R1 ;take absolute value of B, #$18R1
:
Explanation of Example: Prior to execution, the 16-bit address register R1 contains the
value $0000. The execution of the parallel move portion of the instruction, #$18,R1,
moves the 8-bit immediate short operand into the eight LS bits of the R1 register and
zeros the remaining eight MS bits of that register. The 8-bit value is interpreted as an
unsigned integer since its destination is the R1 address register.
Before Execution After Execution
R1 R1
$0000 $0018
IImmediate Short Data Move I