使用 NASM 在 macOS 中进行汇编级编程
Assembly Level Programming in macos using NASM
我的教授。要求我通过 NASM X86 64 位在 linux 中进行汇编语言编程。
因为我有Mac,程序需要修改MacOS,可能是由于系统调用和其他任何原因。
我该如何复制我的 prof.in 我的 macos 要求的相同环境?
如果我在我的 Mac 书中安装 linux 就够了吗?
如果是,那么 "Linux in Windows PC" 和 "Linux in Mac" 在我编写的程序方面有什么区别?
如果不是,那我该如何处理?
Will it be good enough if I install linux in my Macbook ?
在 VM 中安装它可能更方便(您不需要重新启动即可从 MacOS 到 Linux),但直接在您的 Mac这本书也可以。
If yes, then what will be the difference between the "Linux in Windows PC" and "Linux in Mac" in terms of programs that I will write ?
"Mac vs. PC" 营销术语无法承受,Macs 运行 与 "regular PCs" 和 Linux 相同类型的 x64 CPU 不关心其他哪个操作系统也安装在您的系统上。因此,如果您在 x64 Mac 上的 Linux 上编写程序集,您将使用与 运行ning [=19] 时完全相同的 x64 指令和 Linux 系统调用=] 在 x64 上 non-Mac.
我的教授。要求我通过 NASM X86 64 位在 linux 中进行汇编语言编程。
因为我有Mac,程序需要修改MacOS,可能是由于系统调用和其他任何原因。
我该如何复制我的 prof.in 我的 macos 要求的相同环境?
如果我在我的 Mac 书中安装 linux 就够了吗?
如果是,那么 "Linux in Windows PC" 和 "Linux in Mac" 在我编写的程序方面有什么区别? 如果不是,那我该如何处理?
Will it be good enough if I install linux in my Macbook ?
在 VM 中安装它可能更方便(您不需要重新启动即可从 MacOS 到 Linux),但直接在您的 Mac这本书也可以。
If yes, then what will be the difference between the "Linux in Windows PC" and "Linux in Mac" in terms of programs that I will write ?
"Mac vs. PC" 营销术语无法承受,Macs 运行 与 "regular PCs" 和 Linux 相同类型的 x64 CPU 不关心其他哪个操作系统也安装在您的系统上。因此,如果您在 x64 Mac 上的 Linux 上编写程序集,您将使用与 运行ning [=19] 时完全相同的 x64 指令和 Linux 系统调用=] 在 x64 上 non-Mac.