aho*_*der 16 assembly x86-64 nasm 32bit-64bit
我正在按照本教程(第4节)使用NASM开展一个更深入的hello世界.本教程基本上教您如何处理命令行输入.
这是相关代码的片段:
section .text
global _start
_start:
pop ebx ; arg count
pop ebx ; arg[0] the program name
pop ebx ; arg[1-n] the remainder of the args
; must each be indiviually popped
Run Code Online (Sandbox Code Playgroud)
编译过程中的代码错误,error: instruction not supported in 64-bit mode
参考上面的3个弹出指令.在查看文档时,似乎此代码仅适用于32位系统.
有64位pop
指令吗?有没有人使用pop
我可以看到的64位教程?