flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > 64bit code and Inc/Dec instructions |
Author |
|
Tomasz Grysztar 06 Oct 2005, 08:16
INC/DEC still exist in 64-bit code, since only their short forms for registers (opcodes 40h-4Fh) have been used for other purposes, and their long forms (opcodes 0FEh-0FFh) are still available.
Any such "conversion" would not be suitable, since "INC EAX" is not the same as "ADD EAX,1" - the second one affects CF, while first one doesn't. This is important and utilized feature - thus they could not remove the INC/DEC from the instruction set. |
|||
06 Oct 2005, 08:16 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.