ST10 FAMILY PROGRAMMING MANUAL
89/172
MOV
Move Data
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 flags are updated accordingly.
Flags
Addressing Modes
E
Z
V
C
N
*
*
-
-
*
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 otherwise.
V
Not affected.
C
Not affected.
N
Set if the most significant bit of the source operand op2 is set. Cleared otherwise.
Mnemonic
Format
Bytes
MOV
Rw
n
, Rw
m
F0 nm
2
MOV
Rw
n
, #data
4
E0 #n
2
MOV
reg, #data
16
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
+#data
16
]
D4 nm ## ##
4
MOV
[Rw
m
+#data
16
], 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
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...