muta...@gmail.com
2021-03-13 00:56:33 UTC
Is it possible to write x64 code that doesn't
disturb the top 32 bits of registers? As far
as possible I would like to stick to using
pure 80386 instructions and registers.
I'm only interested in application code, e.g.
printf("hello, world\n");
Then we could run 32-bit executables on a
64-bit OS without needing to switch modes.
A different executable, sure, but that's not
my fault. That's the fault of the 80386 and
x64 designers who apparently didn't think
ahead.
Thanks. Paul.
disturb the top 32 bits of registers? As far
as possible I would like to stick to using
pure 80386 instructions and registers.
I'm only interested in application code, e.g.
printf("hello, world\n");
Then we could run 32-bit executables on a
64-bit OS without needing to switch modes.
A different executable, sure, but that's not
my fault. That's the fault of the 80386 and
x64 designers who apparently didn't think
ahead.
Thanks. Paul.