Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

INC/DEC speed (Announce)

posted by Rugxulo Homepage, Usono, 25.12.2009, 01:00

> > On 64-bit, I thought the REX prefix was the INC/DEC opcode reused (so as
> to > not pollute / bloat the opcode space).
>
> INC reg DEC reg use alternative opcodes in 64-bit mode, they are not
> forbbiden at all.

According to NASM ...

40 inc ax (use16)
40 inc eax (use32)
48FFC0 inc rax (use64)

 

Complete thread:

Back to the forum
Board view  Mix view
22781 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum