MOVEQ

MOVEQ

Operation:
Immediate Data -->; Destination

Assembler Syntax:
MOVEQ #<data>, Dn

Attributes: Size = (Quad)

Description: Moves a byte of immediate data to a 32-bit
data register. The data in an 8-bit field within the
operation word is sign extended to a long operand in
the data register as it is transferred.

Condition Codes:
\c32200
X Not affected.
N Set if the result is negative. Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Always cleared.
C Always cleared.

Example:

1)
MOVEQ #$80,D0

Result:
D0 = $FFFFFF80
2)
MOVEQ #$77,D0

Result:
D0 = $00000077