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


Reply via email to