EasyManua.ls Logo

AMD SimNow Simulator 4.4.5 - Page 229

AMD SimNow Simulator 4.4.5
269 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AMD Confidential
User Manual November 21
st
, 2008
Appendix A 217
Instruction
Supported
Mnemonic
Opcode
Description
SUB reg/mem8,reg8
28 /r
Subtract the contents of an 8-bit
register from an 8-bit destination
register or memory location.
SUB reg/mem16,reg16
29 /r
Subtract the contents of a 16-bit
register from a 16-bit destination
register or memory location.
SUB reg/mem32,reg32
29 /r
Subtract the contents of a 32-bit
register from a 32-bit destination
register or memory location.
SUB reg/mem64,reg64
29 /r
Subtract the contents of a 64-bit
register from a 64-bit destination
register or memory location.
SUB reg8,reg/mem8
2A /r
Subtract the contents of an 8-bit
register or memory operand from an 8-
bit destination register.
SUB reg16,reg/mem16
2B /r
Subtract the contents of a 16-bit
register or memory operand from a 16-
bit destination register.
SUB reg32,reg/mem32
2B /r
Subtract the contents of a 32-bit
register or memory operand from a 32-
bit destination register.
SUB reg64,reg/mem64
2B /r
Subtract the contents of a 64-bit
register or memory operand from a 64-
bit destination register.
TEST AL,imm8
AB ib
AND an immediate 8-bit value with the
contents of the AL register and set
rFLAGS to reflect the result.
TEST AX,imm16
A9 iw
AND an immediate 16-bit value with
the contents of the AX register and
set rFLAGS to reflect the result.
TEST EAX,imm32
A9 id
AND an immediate 32-bit value with
the contents of the EAX register and
set rFLAGS to reflect the result.
TEST RAX,imm32
A9 id
AND a sign-extened immediate 32-bit
value with the contents of the RAX
register and set rFLAGS to reflect
the result.
TEST reg/mem8,imm8
F6 /0 ib
AND an immediate 8-bit value with the
contents of an 8-bit register or
memory operand and set rFLAGS to
reflect the result.
TEST reg/mem16,imm16
F7 /0 iw
AND an immediate 16-bit value with
the contents of a 16-bit register or
memory operand and set rFLAGS to
reflect the result.
TEST reg/mem32,imm32
F7 /0 id
AND an immediate 32-bit value with
the contents of a 32-bit register or
memory operand and set rFLAGS to
reflect the result.
TEST reg/mem64,imm32
F7 /0 id
AND a sign-extened immediate 32-bit
value with the contents of a 64-bit
register or memory operand and set
rFLAGS to reflect the result.
TEST reg/mem8,reg8
84 /r
AND the contents of an 8-bit register
with the contents of an 8-bit
register or memory operand and set
rFLAGS to reflect the result.
TEST reg/mem16,reg16
85 /r
AND the contents of a 16-bit register
with the contents of a 16-bit
register or memory operand and set
rFLAGS to reflect the result.
TEST reg/mem32,reg32
85 /r
AND the contents of a 32-bit register
with the contents of a 32-bit
register or memory operand and set
rFLAGS to reflect the result.

Table of Contents