how can you exit and compile a .am file
This question already has an answer here:
To exit Vim, hit the ESC
key to go to normal mode and then type: :wq
to exit and save changes.
For NASM, use:
nasm -f elf file.asm
to compile it.
Then you must link it so you can use:
ld -s -o outfile file.o
Then run with: ./outfile
.
If you can't run ./outfile
. You probably have a permission issue. Which you can fix by using chmod
doing: chmod +x outfile
.
上一篇: 如何将更改后的文件添加到Git中较旧的(而非最后一次)提交中
下一篇: 你怎么能退出并编译一个.am文件