flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [fixed in 1.69.11 BUG] CALL AX vs CALL EAX |
Author |
|
revolution 18 Dec 2009, 02:08
DOS386 wrote: Both instructions compile happily into very same code In 32bit mode the prefix is properly added. |
|||
18 Dec 2009, 02:08 |
|
sinsi 18 Dec 2009, 02:17
EAX in 16-bit mode would need to be FFFF or less wouldn't it? So 'call eax' is really only 'call ax' anyway.
|
|||
18 Dec 2009, 02:17 |
|
revolution 18 Dec 2009, 04:00
sinsi wrote: EAX in 16-bit mode would need to be FFFF or less wouldn't it? So 'call eax' is really only 'call ax' anyway. |
|||
18 Dec 2009, 04:00 |
|
sinsi 18 Dec 2009, 04:49
>The programmer might need a fault to be generated.
OK, I can sort of see that. >Or the descriptors might not be set to default. But the code descriptor affects CS and IP in 16-bit, two registers you can't change directly even in 'unreal' mode. EAX into IP doesn't work. |
|||
18 Dec 2009, 04:49 |
|
revolution 18 Dec 2009, 04:55
sinsi wrote: But the code descriptor affects CS and IP in 16-bit, two registers you can't change directly even in 'unreal' mode. EAX into IP doesn't work. |
|||
18 Dec 2009, 04:55 |
|
Tomasz Grysztar 19 Dec 2009, 18:50
Fixed in 1.69.11.
|
|||
19 Dec 2009, 18:50 |
|
DOS386 20 Dec 2009, 07:46
Tomasz Grysztar wrote: Fixed in 1.69.11. Great - Fixed "CALL-EAX-BUG" (in X86_X64.INC ) - Fixed "PMOVMSKB-64-Bit-BUG" - Fixed "GPF-beer-BUG" in the DOS IDE I haven't tested yet, just checked the source The docs are same, could you please fix the (minor) docs bugs with the next release ? |
|||
20 Dec 2009, 07:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.