Revisar los bits L y DB, segun wikiosdev esta todo bien, pero bochs me lo detecta como:
cs:0x0010, dh=0x00af9900, dl=0x0000ffff, valid=1
Code segment, base=0x00000000, limit=0xffffffff, Execute-Only, Accessed, 16-bit
estuve testeando aritmetica en 64 bits y aparentemente funciona todo bien.
Now the CPU will be in compatibility mode, and instructions are still 32-bit.
To enter long mode, the D/B bit (bit 22, 2nd dword) of the GDT code segment must
be clear (as it would be for a 16-bit code segment), and the L bit (bit 21, 2nd dword)
of the GDT code segment must be set. Once that is done, the CPU is in 64-bit long mode.
*/
Revisar los bits L y DB, segun wikiosdev esta todo bien, pero bochs me lo detecta como: cs:0x0010, dh=0x00af9900, dl=0x0000ffff, valid=1 Code segment, base=0x00000000, limit=0xffffffff, Execute-Only, Accessed, 16-bit estuve testeando aritmetica en 64 bits y aparentemente funciona todo bien.
fuente wikiosdev: /* http://wiki.osdev.org/X86-64