AMD Confidential
User Manual September 12h, 2008
194 Appendix A Instruction
Supported
Mnemonic
Opcode
Description
ADD reg/mem64,reg64
01 /r
Add reg64 to reg/mem64.
ADD reg8,reg/mem8
02 /r
Add reg/mem8 to reg8.
ADD reg16,reg/mem16
03 /r
Add reg/mem16 to reg16.
ADD reg32,reg/mem32
03 /r
Add reg/mem32 to reg32.
ADD reg64,reg/mem64
03 /r
Add reg/mem64 to reg64.
AND AL,imm8
24 ib
AND the contents of AL with an
immediate 8-bit value and store the
result in AL.
AND AX,imm16
25 iw
AND the contents of AX with an
immediate 16-bit value and store the
result in AX.
AND EAX,imm32
25 id
AND the contents of EAX with an
immediate 32-bit value and store the
result in EAX.
AND RAX,imm32
25 id
AND the contents of RAX with a sign-
extended immediate 32-bit value and
store the result in RAX.
AND reg/mem8,imm8
80 /4 ib
AND the contents of reg/mem8 with
imm8.
AND reg/mem16,imm16
81 /4 iw
AND the contents of reg/mem16 with
imm16.
AND reg/mem32,imm32
81 /4 id
AND the contents of reg/mem32 with
imm32.
AND reg/mem64,imm32
81 /4 id
AND the contents of reg/mem64 with a
sign-extended imm32.
AND reg/mem16,imm8
83 /4 ib
AND the contents of reg/mem16 with a
sign-extended 8-bit value.
AND reg/mem32,imm8
83 /4 ib
AND the contents of reg/mem32 with a
sign-extended 8-bit value.
AND reg/mem64,imm8
83 /4 ib
AND the contents of reg/mem64 with a
sign-extended 8-bit value.
AND reg/mem8,reg8
20 /r
AND the contents of an 8-bit register
or memory location with the contents
of an 8-bit register.
AND reg/mem16,reg16
21 /r
AND the contents of a 16-bit register
or memory location with the contents
of a 16-bit register.
AND reg/mem32,reg32
21 /r
AND the contents of a 32-bit register
or memory location with the contents
of a 32-bit register.
AND reg/mem64,reg64
21 /r
AND the contents of a 16-bit register
or memory location with the contents
of a 16-bit register.
AND reg8,reg/mem8
22 /r
AND the contents of an 8-bit register
with the contents of an 8-bit memory
location or register.
AND reg16,reg/mem16
23 /r
AND the contents of a 16-bit register
with the contents of a 16-bit memory
location or register.
AND reg32,reg/mem32
23 /r
AND the contents of a 32-bit register
with the contents of a 32-bit memory
location or register.
AND reg64,reg/mem64
23 /r
AND the contents of a 64-bit register
with the contents of a 64-bit memory
location or register.
BOUND reg16,mem16&mem16
62 /r
Test whether a 16 -bit array index is
within the bounds specified by the
two 16-bit values in mem16&mem16.
BOUND reg32,mem32&mem32
62 /r
Test whether a 32 -bit array index is
within the bounds specified by the
two 32-bit values in mem32&mem32.
BSF reg16,reg/mmem8
0F BC /r
Bit scan forward on the contents of
reg/mem16.
BSF reg32,reg/mmem32
0F BC /r
Bit scan forward on the contents of
reg/mem32.
BSF reg64,reg/mmem64
0F BC /r
Bit scan forward on the contents of
reg/mem64.
BSR reg16,reg/mmem8
0F BD /r
Bit scan reverse on the contents of
reg/mem16.
BSR reg32,reg/mmem32
0F BD /r
Bit scan reverse on the contents of
reg/mem32.
BSR reg64,reg/mmem64
0F BD /r
Bit scan reverse on the contents of
reg/mem64.