pop Instruction not supported in 64-bit mode using NASM?

后端 未结 2 763
梦谈多话
梦谈多话 2021-02-18 22:07

I\'m working on a more indepth hello world using NASM following this tutorial (section 4). This tutorial essentially teaches you how to handle command line input.
This is th

相关标签:
2条回答
  • 2021-02-18 22:30

    Yes, the 64-bit pop instruction is... POP. :-) You need to use it against 64-bit registers though (like rbx).

    0 讨论(0)
  • 2021-02-18 22:50

    basically you can convert it into 64bit by replacing eax to rax (same goes for all other registers)

    0 讨论(0)
提交回复
热议问题