Hello, I have never did Asm programming on UNIX type operating system and now I have tried it. I am using preisntalled NASM as compiler. I took simple Hello World program to try it for the first time and compiled like this:
nasm -f macho -o hello hello.asm
and tried to launch it:
./hello
I got message that permission was denied and then I tried with sudo the same and got message: "sudo: ./hello: command not found".
The question would be how to compile to Mac executive file and run it without any problems?
nasm -f macho -o hello hello.asm
and tried to launch it:
./hello
I got message that permission was denied and then I tried with sudo the same and got message: "sudo: ./hello: command not found".
The question would be how to compile to Mac executive file and run it without any problems?