英文:
Running Assembly Code on Mac by using vs code
问题
当我尝试在 VS Code 中运行汇编代码时,我遇到了如下图所示的问题:
我尝试了很多扩展,但都无济于事,我还尝试了(Amiga Assembly)扩展,但出现了另一个问题,如下图所示:
我不知道如何解决这个问题,以及如何在 Mac 上使用 VS Code 运行汇编代码。
英文:
When I try to run assembly code in vs code I encounter a problem as shown in the image below:
I try many extension but to no avail, I also try (Amiga Assembly) extension But I got another problem as shown in the image below:
I don't know how to solve this problem, and how to run assembly code on mac by using vs code
答案1
得分: 0
I could not find a specific extension for Mac Assembler. I'd recommend using VSCode as your editor and CodeRunner with custom commands.
Alternatively, you could use the terminal pane to manually execute the Mac OSX assembler commands.
Here's a link to the as command reference from Apple. It'll probably be a useful reference for compiling and linking.
英文:
I could not find a specific extension for Mac Assembler. I'd recommend using VSCode as your editor and CodeRunner with custom commands.
Alternatively, you could use the terminal pane to manually execute the Mac OSX assembler commands.
Here's a link to the as command reference from Apple. It'll probably be a useful reference for compiling and linking.
答案2
得分: 0
Finally I got the solution of this problem. If anyone has the same problem, try this solution. It may work for you.
First thing I download extension called (MASM/TASM)
Finally, Right-Click in your code then click (Run ASM code) as shown in the image below:
I hope this solution helped you.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论