There is a small appliction
;exetest2.asm
;build by
; nasm -f coff exetest2.asm
; gcc -o exetest2.exe exetest2.o
section .data
msg db 'Hello!',13,10,'$'
section .text
global _main
_main:
mov dx, msg
mov ah, 9
int 21h
ret
;end of exetest2.asm
When I build it , nasm will show following error message:
"COFF format does not support non-32-bit relocations"
Could you tell me how to solve this problem?
Thanks!