
30Mar98@15:00h
Semiconductor Group
82
Version 1.2, 12.97
C166 Family Instruction Set
Instruction Description
MOV
Move Data
MOV
Syntax
MOV
op1, op2
Operation
(op1)
←
(op2)
Data Types
WORD
Description
Moves the contents of the source operand specified by op2 to the location
specified by the destination operand op1. The contents of the moved data
is examined, and the condition codes are updated accordingly.
E Set if the value of op2 represents the lowest possible negative number.
Cleared otherwise. Used to signal the end of a table.
Z Set if the value of the source operand op2 equals zero. Cleared other-
wise.
V Not affected.
C Not affected.
N Set if the most significant bit of the source operand op2 is set. Cleared
otherwise.
Addressing Modes
Mnemonic
Format
Bytes
MOV
Rw
n
, Rw
m
F0 nm
2
MOV
Rw
n
, #data4
E0 #n
2
MOV
reg, #data16
E6 RR ## ##
4
MOV
Rw
n
, [Rw
m
]
A8 nm
2
MOV
Rw
n
, [Rw
m
+]
98 nm
2
MOV
[Rw
m
], Rw
n
B8 nm
2
MOV
[-Rw
m
], Rw
n
88 nm
2
MOV
[Rw
n
], [Rw
m
]
C8 nm
2
MOV
[Rw
n
+], [Rw
m
]
D8 nm
2
MOV
[Rw
n
], [Rw
m
+]
E8 nm
2
MOV
Rw
n
, [Rw
m
+#data16]
D4 nm ## ##
4
MOV
[Rw
m
+#data16], Rw
n
C4 nm ## ##
4
MOV
[Rw
n
], mem
84 0n MM MM
4
MOV
mem, [Rw
n
]
94 0n MM MM
4
MOV
reg, mem
F2 RR MM MM
4
MOV
mem, reg
F6 RR MM MM
4
Condition Flags
E
Z
V
C
N
*
*
-
-
*