03.03.2013 Views

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

4 Instruction tables - Agner Fog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Merom<br />

ROR ROL m,i/cl 3 2 x x 1 1 1 int 6 1<br />

RCR RCL r,1 2 2 x x x int 2 2<br />

RCR r8,i/cl 9 9 x x x int 12<br />

RCL r8,i/cl 8 8 x x x int 11<br />

RCR RCL r16/32/64,i/cl 6 6 x x x int 11<br />

RCR RCL m,1 4 3 x x x 1 1 1 int 7<br />

RCR m8,i/cl 12 9 x x x 1 1 1 int 14<br />

RCL m8,i/cl 11 8 x x x 1 1 1 int 13<br />

RCR RCL m16/32/64,i/cl 10 7 x x x 1 1 1 int 13<br />

SHLD SHRD r,r,i/cl 2 2 x x x int 2 1<br />

SHLD SHRD m,r,i/cl 3 2 x x x 1 1 1 int 7<br />

BT r,r/i 1 1 x x x int 1 1<br />

BT m,r 10 9 x x x 1 int 5<br />

BT m,i 2 1 x x x 1 int 1<br />

BTR BTS BTC r,r/i 1 1 x x x int 1<br />

BTR BTS BTC m,r 11 8 x x x 1 1 1 int 5<br />

BTR BTS BTC m,i 3 1 x x x 1 1 1 int 6<br />

BSF BSR r,r 2 2 x 1 x int 2 1<br />

BSF BSR r,m 2 2 x 1 x 1 int 2<br />

SETcc r 1 1 x x x int 1 1<br />

SETcc m 2 1 x x x 1 1 int 1<br />

CLC STC CMC 1 1 x x x int 1 0.33<br />

CLD 7 7 x x x int 4<br />

STD 6 6 x x x int 14<br />

Control transfer instructions<br />

JMP short/near 1 1 1 int 0 1-2<br />

JMP i) far 30 30 int 76<br />

JMP r 1 1 1 int 0 1-2<br />

JMP m(near) 1 1 1 1 int 0 1-2<br />

JMP m(far) 31 29 2 int 68<br />

Conditional jump short/near 1 1 1 int 0 1<br />

Fused compare/test and branch e,i) 1 1 1 int 0 1<br />

J(E/R)CXZ short 2 2 x x 1 int 1-2<br />

LOOP short 11 11 x x x int 5<br />

LOOP(N)E short 11 11 x x x int 5<br />

CALL near 3 2 x x x 1 1 int 2<br />

CALL i) far 43 43 int 75<br />

CALL r 3 2 1 1 int 2<br />

CALL m(near) 4 3 1 1 1 int 2<br />

CALL m(far) 44 42 2 int 75<br />

RETN 1 1 1 int 2<br />

RETN i 3 1 1 1 int 2<br />

RETF 32 30 2 int 78<br />

RETF i 32 30 2 int 78<br />

BOUND i) r,m 15 13 2 int 8<br />

INTO i) 5 5 int 3<br />

String instructions<br />

LODS 3 2 1 int 1<br />

Page 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!