beautypg.com

Amd confidential user manual september 12 – AMD SimNow Simulator 4.4.4 User Manual

Page 226

background image

AMD Confidential

User Manual

September 12

h

, 2008

214

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

SBB reg/mem64,imm32

81 /3 id

Subtract a sign-extended immediate

32-bit value from a 64-bit register

or memory location with borrow.

SBB reg/mem16,imm8

83 /3 ib

Subtract

a

sign-extended

8-bit

immediate

value

from

a

16-bit

register or memory location with

borrow.

SBB reg/mem32,imm8

83 /3 ib

Subtract

a

sign-extended

8-bit

immediate

value

from

a

32-bit

register or memory location with

borrow.

SBB reg/mem64,imm8

83 /3 ib

Subtract

a

sign-extended

8-bit

immediate

value

from

a

64-bit

register or memory location with

borrow.

SBB reg/mem8,reg8

18 /r

Subtract the contents of an 8-bit

register from an 8-bit register or

memory location with borrow.

SBB reg/mem16,reg16

19 /r

Subtract the contents of a 16-bit

register from a 16-bit register or

memory location with borrow.

SBB reg/mem32,reg32

19 /r

Subtract the contents of a 32-bit

register from a 32-bit register or

memory location with borrow.

SBB reg/mem64,reg64

19 /r

Subtract the contents of a 64-bit

register from a 64-bit register or

memory location with borrow.

SBB reg8,reg/mem8

1A /r

Subtract the contents of an 8-bit

register or memory location from the

contents of an 8-bit register with

borrow.

SBB reg16,reg/mem16

1B /r

Subtract the contents of a 16-bit

register or memory location from the

contents of a 16-bit register with

borrow.

SBB reg32,reg/mem32

1B /r

Subtract the contents of a 32-bit

register or memory location from the

contents of a 32-bit register with

borrow.

SBB reg64,reg/mem64

1B /r

Subtract the contents of a 64-bit

register or memory location from the

contents of a 64-bit register with

borrow.

SCAS mem8

AE

Compare the contents of the AL

register with the byte at ES:rDI, and

then increment or decrement rDI.

SCAS mem16

AF

Compare the contents of the AX

register with the word at ES:rDI, and

then increment or decrement rDI.

SCAS mem32

AF

Compare the contents of the EAX

register with the doubleword at

ES:rDI,

and

then

increment

or

decrement rDI.

SCAS mem64

AF

Compare the contents of the RAX

register with the quadword at ES:rDI,

and then increment or decrement rDI.

SCASB

AE

Compare the contents of the AL

register with the byte at ES:rDI, and

then increment or decrement rDI.

SCASW

AF

Compare the contents of the AX

register with the word at ES:rDI, and

then increment or decrement rDI.

SCASD

AF

Compare the contents of the EAX

register with the doubleword at

ES:rDI,

and

then

increment

or

decrement rDI.

SCASQ

AF

Compare the contents of the RAX

register with the quadword at ES:rDI,

and then increment or decrement rDI.

SETO reg/mem8

0F 90

Set byte if overflow (OF = 1).

SETNO reg/mem8

0F 91

Set byte if not overflow (OF = 0).

SETB reg/mem8

0F 92

Set byte if below (CF = 1).

SETC reg/mem8

0F 92

Set byte if carry (CF = 1).

SETNAE reg/mem8

0F 92

Set byte if not above or equal (CF =

1).