Specifications

Arithmetic Operations-
Operation: (src) + (dst)
Condition Codes:
Z: set if (src) = 0; cleared otherwise
N: set if (src) < 0; cleared otherwise
C: not affected
V: cleared
Description: Moves the source operand to the destination location. The pre-
vious contents of the destination are lost. The contents of the source are
not affected.
The MOV instruction is a generalization of ‘load,” “store,” “setup,” ‘push,”
“pop,’ and interregister transfer operations.
General registers may be loaded with the contents of memory addresses with
instructions of the form:
MOV src, R
Registers may be loaded with a counter, and pointer values with MOV in-
structions:
MOV #n. R
iwhich loads the number n into register R)
Operands may be pushed onto a stack by:
MOV src, -(R)
and may be popped off a stack by:
MOV (R)+, dst
Interregister transfers are simply:
MOV RA, RB
(RA and RB are general registers)
Memory-to-memory transfers may be done with the MOV instruction in the
general form:
MOV src, dst
ADD
ADD WC. dsi
2.3~
0
,
6 WC
I
I I I I
1
dst ,
I I
(5 12 11 6 5 0
Operation: (src) + (dst) + (dst)
Condition Codes: Z: set if result = 0; cleared otherwise
N: set if result < 0; cleared otherwise
C: set if there was a carry from the most significant bit
of the result; cleared otherwise
V: set if there was arithmetic overflow as a result of the
operation, that is, if both dperands were of the same
sign and the result was of the opposite sign; cleared
otherwise
18