AMD Athlon™ Processor x86 Code Optimization

22007E/0 — November 1999

Table 19. Integer Instructions (Continued)

Instruction Mnemonic

First

Second

ModR/M

Decode

Byte

Byte

Byte

Type

 

 

 

 

 

 

MOV EDX, imm16/32

BAh

 

 

DirectPath

 

 

 

 

 

MOV EBX, imm16/32

BBh

 

 

DirectPath

 

 

 

 

 

MOV ESP, imm16/32

BCh

 

 

DirectPath

 

 

 

 

 

MOV EBP, imm16/32

BDh

 

 

DirectPath

 

 

 

 

 

MOV ESI, imm16/32

BEh

 

 

DirectPath

 

 

 

 

 

MOV EDI, imm16/32

BFh

 

 

DirectPath

 

 

 

 

 

MOV mreg8, imm8

C6h

 

11-000-xxx

DirectPath

 

 

 

 

 

MOV mem8, imm8

C6h

 

mm-000-xxx

DirectPath

 

 

 

 

 

MOV mreg16/32, imm16/32

C7h

 

11-000-xxx

DirectPath

 

 

 

 

 

MOV mem16/32, imm16/32

C7h

 

mm-000-xxx

DirectPath

 

 

 

 

 

MOVSB mem8,mem8

A4h

 

 

VectorPath

 

 

 

 

 

MOVSD mem16, mem16

A5h

 

 

VectorPath

 

 

 

 

 

MOVSW mem32, mem32

A5h

 

 

VectorPath

 

 

 

 

 

MOVSX reg16/32, mreg8

0Fh

BEh

11-xxx-xxx

DirectPath

 

 

 

 

 

MOVSX reg16/32, mem8

0Fh

BEh

mm-xxx-xxx

DirectPath

 

 

 

 

 

MOVSX reg32, mreg16

0Fh

BFh

11-xxx-xxx

DirectPath

 

 

 

 

 

MOVSX reg32, mem16

0Fh

BFh

mm-xxx-xxx

DirectPath

 

 

 

 

 

MOVZX reg16/32, mreg8

0Fh

B6h

11-xxx-xxx

DirectPath

 

 

 

 

 

MOVZX reg16/32, mem8

0Fh

B6h

mm-xxx-xxx

DirectPath

 

 

 

 

 

MOVZX reg32, mreg16

0Fh

B7h

11-xxx-xxx

DirectPath

 

 

 

 

 

MOVZX reg32, mem16

0Fh

B7h

mm-xxx-xxx

DirectPath

 

 

 

 

 

MUL AL, mreg8

F6h

 

11-100-xxx

VectorPath

 

 

 

 

 

MUL AL, mem8

F6h

 

mm-100-xx

VectorPath

 

 

 

 

 

MUL AX, mreg16

F7h

 

11-100-xxx

VectorPath

 

 

 

 

 

MUL AX, mem16

F7h

 

mm-100-xxx

VectorPath

 

 

 

 

 

MUL EAX, mreg32

F7h

 

11-100-xxx

VectorPath

 

 

 

 

 

MUL EAX, mem32

F7h

 

mm-100-xx

VectorPath

 

 

 

 

 

NEG mreg8

F6h

 

11-011-xxx

DirectPath

 

 

 

 

 

NEG mem8

F6h

 

mm-011-xx

DirectPath

 

 

 

 

 

NEG mreg16/32

F7h

 

11-011-xxx

DirectPath

 

 

 

 

 

NEG mem16/32

F7h

 

mm-011-xx

DirectPath

 

 

 

 

 

NOP (XCHG EAX, EAX)

90h

 

 

DirectPath

 

 

 

 

 

NOT mreg8

F6h

 

11-010-xxx

DirectPath

 

 

 

 

 

198

Instruction Dispatch and Execution Resources

Page 214
Image 214
AMD x86 manual NOP Xchg EAX, EAX