30
The 68000's Instruction Set
Application: If [D3.W] = 1100110010101110
2
, the instruction LSL.W #5,D3
produces the result 1001010111000000
2
. After the shift, both the
X-and C-bits of the CCR are set to 1 (since the last bit shifted out
was a 1).
Condition codes: X N Z V C
* * * 0 *
The X-bit is set to the last bit shifted out of the operand and is
equal to the C-bit. However, a zero shift count leaves the X-bit
unaffected and the C-bit cleared.
Destination operand addressing modes
MOVE Copy data from source to destination
Operation: [destination] ← [source]
Syntax: MOVE <ea>,<e>
Sample syntax: MOVE (A5),-(A2)
MOVE -(A5),(A2)+
MOVE #$123,(A6)+
MOVE Temp1,Temp2