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

Page 210

Advertising
background image

AMD Confidential

User Manual

November 21

st

, 2008

198

Appendix A

Instruction

Supported

Mnemonic

Opcode

Description

IN AL,imm8

E4 ib

Input a byte from the port at the
address specified by imm8 and put it
into the AL register.

IN AX,imm8

E5 ib

Input a word from the port at the
address specified by imm8 and put it
into the AX register.

IN EAX,imm8

E5 ib

Input a doubleword from the port at
the address specified by imm8 and put
it into the EAX register.

IN AL,DX

EC

Input a byte from the port at the
address specified by the DX register
and put it into the AL register.

IN AX,DX

ED

Input a word from the port at the
address specified by the DX register
and put it into the AX register.

IN EAX,EDX

ED

Input a doubleword from the port at
the address specified by the EDX
register and put it into the EAX
register.

INC reg/mem8

FE /0

Increment the contents of an 8-bit
register or memory location by 1.

INC reg/mem16

FF /0

Increment the contents of a 16-bit
register or memory location by 1.

INC reg/mem32

FF /0

Increment the contents of a 32-bit
register or memory location by 1.

INC reg/mem64

FF /0

Increment the contents of a 64-bit
register or memory location by 1.

INC reg16

40 +rw

Increment the contents of a 16-bit
register by 1.

INC reg32

40 +rd

Increment the contents of a 32-bit
register by 1.

INS mem8,DX

6C

Input a byte from the port specified
by DX, put it into the memory
location specified in ES:rDI, and
then increment or decrement rDI.

INS mem16,DX

6D

Input a word from the port specified
by DX, put it into the memory
location specified in ES:rDI, and
then increment or decrement rDI.

INS mem32,DX

6D

Input a doubleword from the port
specified by DX, put it into the
memory location specified in ES:rDI,
and then increment or decrement rDI.

INSB

6C

Input a byte from the port specified
by DX, put it into the memory
location specified in ES:rDI, and
then increment or decrement rDI.

INSW

6D

Input a word from the port specified
by DX, put it into the memory
location specified in ES:rDI, and
then increment or decrement rDI.

INSD

6D

Input a doubleword from the port
specified by DX, put it into the
memory location specified in ES:rDI,
and then increment or decrement rDI.

INT imm8

CD ib

Calls

interrupt

service

routine

specified by interrupt vector imm8.

INTO

CE

Calls overflow exception if the
overflow flag is set.

JO rel8off

80 cb

Jump if overflow (OF = 1).

JO rel16off

0F 80 cw

Jump if overflow (OF = 1).

JO rel32off

0F 80 cd

Jump if overflow (OF = 1).

JNO rel8off

71 cb

Jump if not overflow (OF = 0)

JNO rel16off

0F 81 cw

Jump if not overflow (OF = 0)

JNO rel32off

0F 81 cd

Jump if not overflow (OF = 0)

Advertising