what is 16 bit code program in x86?
Posted: Wed Jan 23, 2013 9:31 pm
cpu: intel i3
toolchain: gnu toolchain
When I write 16 bit code, I use .code16 in gas, but I still can use 32 bit register like %eax ...
I compare .code16 and .code32 machine code, difference is prefix.
Is 16/32 bit code difference address length?
But in 8086, there is no 32 bit registers to use.
toolchain: gnu toolchain
When I write 16 bit code, I use .code16 in gas, but I still can use 32 bit register like %eax ...
I compare .code16 and .code32 machine code, difference is prefix.
Is 16/32 bit code difference address length?
But in 8086, there is no 32 bit registers to use.