Dear Ron, I encounter a problem about instruction "jmp" and "call". I expect the "jmp" and "call" with a 16-bit offset, but every time the GCC compile them with 32-bit offset. This cause the vga bios can't run. I don't know how to fix it, can you help me? Thanks! Example: e8 a1 00 : call 00a1 b0 50 : movb $0x50, %al e6 80 : outb %al, $0x80 This three instructions will be compiled to two instructions as follow: e8 a1 00 b0 50 : call 50b000a1 e6 80 : outb %al, $0x80 Regards, Collins
- 16-bit address amd 32-bit address Collins Chen
- Re: 16-bit address amd 32-bit address Collins Chen
- Re: 16-bit address amd 32-bit address Stefanos Papanicolopulos
- Re: 16-bit address amd 32-bit addres... Eric Seppanen
- Re: 16-bit address amd 32-bit ad... Ronald G Minnich
- Re: 16-bit address amd 32-b... Eric W. Biederman
- Re: 16-bit address amd 32-bit ad... Eric W. Biederman
- 16-bit address amd 32-bit address Jeremy Jackson
- Fw: 16-bit address amd 32-bit address Jeremy Jackson