a20 enabled?
Posted: Sat Dec 09, 2006 5:08 am
Thanks,
Lprogster
Lprogster
No, not in real mode. In 16 bit protected mode you can. But just replace it with AX. It should work.Lprogster wrote:In 16bit (real) mode can you use EAX?
Yes, in real mode you can use 32-bit instructions. The assembler will simply add prefixes to tell the processor that the next instruction uses 32-bit operands instead of the standard 16 bit ones.Walling wrote:No, not in real mode. In 16 bit protected mode you can. But just replace it with AX. It should work.Lprogster wrote:In 16bit (real) mode can you use EAX?
Okay, my fault, I thought it was only for 16 bit protected mode. Very nice indeed.Combuster wrote:Yes, in real mode you can use 32-bit instructions. The assembler will simply add prefixes to tell the processor that the next instruction uses 32-bit operands instead of the standard 16 bit ones.Walling wrote:No, not in real mode. In 16 bit protected mode you can. But just replace it with AX. It should work.Lprogster wrote:In 16bit (real) mode can you use EAX?
Some bios functions return values in EAX and other 32-bit registers, and Unreal mode wouldnt exist if you couldnt use 32-bit addresses in real mode.