Hello!
I'm beginner in nasm.
I have a x86 program:
global main
extern printf
section .data
fmt: db "a=%e",10,0
a: dq 0x1.1p+32
section .text
main:
push dword [a+4]
push dword [a]
push dword fmt
call printf
add esp,12
ret
When I tried to compile on x64 NASM i have got a problem:
prog.asm:11: error: instruction not supported in 64-bit mode
prog.asm:12: error: instruction not supported in 64-bit mode
Does anyone know what I have to change in this program to compile on x64?