Fix jmp/call near offsets in long mode
[nasm.git] / test / testdos.asm
blob2f6bf91652ac9e200d7278393daa2b0908e30f77
1 ;Testname=test; Arguments=-fbin -otestdos.bin; Files=stdout stderr testdos.bin
3 ; This file was known to miscompile with the 16-bit NASM built
4 ; under Borland C++ 3.1, so keep it around for testing...
6 ; The proper output looks like:
8 ; 00000000 A10300
9 ; 00000003 EA0000FFFF
11 org 0100h
12 mov ax,[3]
13 jmp 0FFFFh:0000