flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > "short" TEST instruction Goto page Previous 1, 2, 3, 4, 5 |
Author |
|
vid 29 Sep 2006, 04:39
"test eax, 8" has a MUCH different effect on x86-64 than "test al, 8"
|
|||
29 Sep 2006, 04:39 |
|
Tomasz Grysztar 29 Sep 2006, 07:34
revolution wrote:
You can consider the term "defined" in the beginning of section 2.1.19 of the fasm's manual. |
|||
29 Sep 2006, 07:34 |
|
MazeGen 01 Oct 2006, 13:51
(post by vid)
yes |
|||
01 Oct 2006, 13:51 |
|
UCM 01 Oct 2006, 14:58
Then... What is it?
|
|||
01 Oct 2006, 14:58 |
|
MazeGen 01 Oct 2006, 15:03
Sorry, we were mistaken by Intel manuals which state that in 64-bit mode, 32-bit operands generate a 32-bit result, zero-extended to a 64-bit result in the destination general-purpose register.
(Basic Architecture Manual rev 021, chapter 3.4.1.1 - General-Purpose Registers in 64-Bit Mode) Our test showed that this is true only in case when the destination register is modified by instruction. |
|||
01 Oct 2006, 15:03 |
|
Goto page Previous 1, 2, 3, 4, 5 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.