Instruction Set
4-153
MOV
Move Component
MOV
What It Does
MOV copies a component to a register or to a location in memory.
Syntax
Description
MOV copies the second operand to the first operand.
Operation It Performs
Flag Settings After Instruction
Form
Opcode
Description
Clocks
Am186 Am188
MOV
r/m8,r8
88
/r
Copy register to r/m byte
2
2
MOV
r/m16,r16
89
/r
Copy register to r/m word
12
16
MOV
r8,r/m8
8A
/r
Copy r/m byte to register
2
2
MOV
r16,r/m16
8B
/r
Copy r/m word to register
9
13
MOV
r/m16,sreg
8C
/sr
Copy segment register to r/m word
2/11
2/15
MOV
sreg,r/m16
8E
/sr
Copy r/m word to segment register
2/9
2/13
MOV AL,
moffs8
A0
Copy byte at segment:offset to AL
8
8
MOV AX,
moffs16
A1
Copy word at segment:offset to AX
8
12
MOV
moffs8,AL
A2
Copy AL to byte at segment:offset
9
9
MOV
moffs16,AX
A3
Copy AX to word at segment:offset
9
13
MOV
r8,imm8
B0+
rb
Copy immediate byte to register
3
3
MOV
r16,imm16
B8+
rw
Copy immediate word to register
3
4
MOV
r/m8,imm8
C6
/0
Copy immediate byte to r/m byte
12
12
MOV
r/m16,imm16
C7
/0
Copy immediate word to r/m word
12
13
MOV
copy,source
/* copy component */
copy = source;
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Processor Status
Flags Register
reserved
OF DF
IF TF SF ZF
AF
PF
CF
? = undefined; – = unchanged
–
–
–
–
–
– res – res – res –
Содержание Am186 Series
Страница 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Страница 10: ...Table of Contents x...
Страница 18: ...Programming 1 8...
Страница 40: ...Instruction Set Listing 3 14...