flat assembler
Message board for the users of flat assembler.
Index
> DOS > C4 C4 in NTVDM |
Author |
|
l4m2 23 Jan 2019, 16:31
Is there document about NTVDM api? With new AVX instruction set will the hack stop working?
|
|||
23 Jan 2019, 16:31 |
|
revolution 23 Jan 2019, 16:53
0xc4, 0xc4 = les eax,esp?
That would certainly become a new VEX prefix with AVX in the CPU. |
|||
23 Jan 2019, 16:53 |
|
revolution 23 Jan 2019, 19:10
It should be using ud2 (or ud0/ud1) to guarantee an invalid opcode. All other encodings might be used for future instructions that don't yet exist.
|
|||
23 Jan 2019, 19:10 |
|
l4m2 24 Jan 2019, 02:38
revolution wrote: It should be using ud2 (or ud0/ud1) to guarantee an invalid opcode. All other encodings might be used for future instructions that don't yet exist. |
|||
24 Jan 2019, 02:38 |
|
revolution 24 Jan 2019, 02:42
0xc4,0xc4 also raises an exception. It is supposed to be a invalid instruction, just like ud2.
The difference is that 0xc4,0xc4 is not guaranteed to always be invalid. Ud2 is. |
|||
24 Jan 2019, 02:42 |
|
l4m2 24 Dec 2022, 16:35
revolution wrote: 0xc4, 0xc4 = les eax,esp? [quote=https://www.agner.org/optimize/blog/read.php?i=25] Microsoft is using the code C4 C4 in Windows for such a purpose. This code now conflicts with the new VEX instructions, which is the reason why Intel had to disable VEX instructions in 16-bit real and virtual mode.[/quote] |
|||
24 Dec 2022, 16:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.