Amd confidential user manual november 21 – AMD SimNow Simulator 4.4.5 User Manual

Page 204

Advertising
background image

AMD Confidential

User Manual

November 21

st

, 2008

192

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

BTS reg/mem16,imm8

0F BA /5 ib

Copy the value of the selected bit to
the carry flag, and then set the
selected bit.

BTS reg/mem32,imm8

0F BA /5 ib

Copy the value of the selected bit to
the carry flag, and then set the
selected bit.

BTS reg/mem64,imm8

0F BA /5 ib

Copy the value of the selected bit to
the carry flag, and then set the
selected bit.

CALL rel16off

E8 iw

Near call with the target specified
by a 16-bit relative displacement.

CALL rel32off

E8 id

Near call with the target specified
by a 32-bit relative displacement.

CALL reg/mem16

FF /2

Near call with the target specified
by reg/mem16.

CALL reg/mem32

FF /2

Near call with the target specified
by reg/mem32.

CALL reg/mem64

FF /2

Near call with the target specified
by reg/mem64.

CALL FAR pntr16:16

9A cd

Far call direct, with the target
specified by a far pointer contained
in the instruction.

CALL FAR pntr16:32

9A cp

Far call direct, with the target
specified by a far pointer contained
in the instruction.

CALL FAR mem16:16

FF /3

Far call indirect, with the target
specified by a far pointer in memory.

CALL FAR mem16:32

FF /3

Far call indirect, with the target
specified by a far pointer in memory.

CBW

98

Sign-extend AL into AX.

CWDE

98

Sign-extend AX into EAX.

CDQE

98

Sign-extend EAX into RAX.

CWD

99

Sign-extend AX into DX:AX.

CDQ

99

Sign-extend EAX into EDX:EAX.

CQO

99

Sign-extend RAX into RDX:RAX.

CLC

F8

Clear the carry flag (CF) to zero.

CLD

FC

Clear the direction flag (DF) to
zero.

CFLUSH mem8

0F AE /7

Flush cache line containing mem8.

CMC

F5

Complement the carry flag (CF).

CMOVO reg16,reg/mem16

0F 40 /r

Move if overflow (OF = 1).

CMOVO reg32,reg/mem32

0F 40 /r

Move if overflow (OF = 1).

CMOVO reg64,reg/mem64

0F 40 /r

Move if overflow (OF = 1).

CMOVNO reg16,reg/mem16

0F 41 /r

Move if not overflow (OF = 0).

CMOVNO reg32,reg/mem32

0F 41 /r

Move if not overflow (OF = 0).

CMOVNO reg64,reg/mem64

0F 41 /r

Move if not overflow (OF = 0).

CMOVB reg16,reg/mem16

0F 42 /r

Move if below (CF = 1).

CMOVB reg32,reg/mem32

0F 42 /r

Move if below (CF = 1).

CMOVB reg64,reg/mem64

0F 42 /r

Move if below (CF = 1).

CMOVC reg16,reg/mem16

0F 42 /r

Move if carry (CF = 1).

CMOVC reg32,reg/mem32

0F 42 /r

Move if carry (CF = 1).

CMOVC reg64,reg/mem64

0F 42 /r

Move if carry (CF = 1).

CMOVNAE reg16,reg/mem16

0F 42 /r

Move if not above or equal (CF = 1).

CMOVNAE reg32,reg/mem32

0F 42 /r

Move if not above or equal (CF = 1).

CMOVNAE reg64,reg/mem64

0F 42 /r

Move if not above or equal (CF = 1).

CMOVNB reg16,reg/mem16

0F 43 /r

Move if not below (CF = 0).

CMOVNB reg32,reg/mem32

0F 43 /r

Move if not below (CF = 0).

CMOVNB reg64,reg/mem64

0F 43 /r

Move if not below (CF = 0).

CMOVNC reg16,reg/mem16

0F 43 /r

Move if not carry (CF = 0).

Advertising