A-6
OPCODE MAP
Table A-2. One-byte Opcode Map (Left)
0
1
2
3
4
5
6
7
0
ADD
PUSH
ES
POP
ES
Eb, GbEv, GvGb, EbGv, EvAL, IbeAX, Iv
1
ADC
PUSH
SS
POP
SS
Eb, GbEv, GvGb, EbGv, EvAL, IbeAX, Iv
2
AND
SEG=ESDAA
Eb, GbEv, GvGb, EbGv, EvAL, IbeAX, Iv
3
XOR
SEG=SSAAA
Eb, GbEv, GvGb, EbGb, EvAL, IbeAX, Iv
4
INC general register
eAXeCX
eDX
eBXeSPeBP
eSI
eDI
5
PUSH general register
eAXeCX
eDX
eBXeSPeBP
eSI
eDI
6PUSHA/
PUSHAD
POPA/
POPAD
BOUND
Gv, Ma
ARPL
Ew, GwSEG=FSSEG=GSOpd
Size
Addr
Size
7
Jcc, Jb - Short-displacement jump on condition
O
NOB/NAE/CNB/AE/NCZ/ENZ/NEBE/NANBE/A
8
Immediate Grp 1
1A
TEST
XCHG
Eb, Ib
Ev, Iv
Ev, Ib
Ev, IbEb, GbEv, GvEb, GbEv, Gv
9NOP
XCHG word or double-word register with eAX
eCX
eDX
eBXeSPeBP
eSI
eDI
A
MOV
MOVS/
MOVSB
Xb, Yb
MOVS/
MOVSW/
MOVSD
Xv, Yv
CMPS/
CMPSB
Xb, Yb
CMPS/
CMPSW/
CMPSD
Xv, Yv
AL, ObeAX, OvOb, ALOv, eAX
B
MOV immediate byte into byte register
AL
CL
DL
BL
AH
CH
DH
BH
C
Shift Grp 2
1A
RETN
Iw
RETNLES
Gv, Mp
LDS
Gv, Mp
Grp 11
1A
- MOV
Eb, Ib
Ev, Ib
Eb, IbEv, Iv
D
Shift Grp 2
1A
AAM
Ib
AAD
Ib
XLAT/
XLATB
Eb, 1
Ev, 1
Eb, CL
Ev, CL
E
LOOPNE/
LOOPNZ
Jb
LOOPE/
LOOPZ
Jb
LOOP
Jb
JCXZ/
JECXZ
Jb
IN
OUT
AL, IbeAX, IbIb, ALIb, eAX
FLOCK
REPNEREP/
REPE HLTCMC
Unary Grp 3
1A
Eb
Ev