AMD 4.4.5 Switch User Manual


 
AMD Confidential
User Manual November 21
st
, 2008
Appendix A 195
Instruction
Supported
Mnemonic
Opcode
Description
CMP reg/mem8,reg8
38 /r
Compare the contents of an 8-bit
register or memory operand with the
contents of an 8-bit register.
CMP reg/mem16,reg16
39 /r
Compare the contents of a 16-bit
register or memory operand with the
contents of a 16-bit register.
CMP reg/mem32,reg32
39 /r
Compare the contents of a 32-bit
register or memory operand with the
contents of a 32-bit register.
CMP reg/mem64,reg64
39 /r
Compare the contents of a 64-bit
register or memory operand with the
contents of a 64-bit register.
CMP reg8,reg/mem8
3A /r
Compare the contents of an 8-bit
register with the contents of an 8-
bit register or memory operand.
CMP reg16,reg/mem16
3B /r
Compare the contents of a 16-bit
register with the contents of a 16-
bit register or memory operand.
CMP reg32,reg/mem32
3B /r
Compare the contents of a 32-bit
register with the contents of a 32-
bit register or memory operand.
CMP reg64,reg/mem64
3B /r
Compare the contents of a 64-bit
register with the contents of a 64-
bit register or memory operand.
CMPS mem8,mem8
A6
Compare the byte at DS:rSI with the
byte at ES:rDI and then increment or
decrement rSI and rDI.
CMPS mem16,mem16
A7
Compare the word at DS:rSI with the
word at ES:rDI and then increment or
decrement rSI and rDI.
CMPS mem32,mem32
A7
Compare the doubleword at DS:rSI with
the doubleword at ES:rDI and then
increment or decrement rSI and rDI.
CMPS mem64,mem64
A7
Compare the quadword at DS:rSI with
the quadword at ES:rDI and then
increment or decrement rSI and rDI.
CMPSB
A6
Compare the byte at DS:rSI with the
byte at ES:rDI and then increment or
decrement rSI and rDI.
CMPSW
A7
Compare the word at DS:rSI with the
word at ES:rDI and then increment or
decrement rSI and rDI.
CMPSD
A7
Compare the doubleword at DS:rSI with
the doubleword at ES:rDI and then
increment or decrement rSI and rDI.
CMPSQ
A7
Compare the quadword at DS:rSI with
the quadword at ES:rDI and then
increment or decrement rSI and rDI.
CMPXCHG reg/mem8,reg8
0F B0 /r
Compare AL register with an 8-bit
register or memory location. If
equal, copy the second operand to the
first operand. Otherwise, copy the
first operand to AL.
CMPXCHG reg/mem16,reg16
0F B1 /r
Compare AX register with a 16-bit
register or memory location. If
equal, copy the second operand to the
first operand. Otherwise, copy the
first operand to AX.
CMPXCHG reg/mem32,reg32
0F B1 /r
Compare EAX register with a 32-bit
register or memory location. If
equal, copy the second operand to the
first operand. Otherwise, copy the
first operand to EAX.
CMPXCHG reg/mem64,reg64
0F B1 /r
Compare RAX register with a 64-bit
register or memory location. If
equal, copy the second operand to the
first operand. Otherwise, copy the
first operand to RAX.