在Mac上使用VS Code运行汇编代码。

huangapple go评论66阅读模式
英文:

Running Assembly Code on Mac by using vs code

问题

当我尝试在 VS Code 中运行汇编代码时,我遇到了如下图所示的问题:

在Mac上使用VS Code运行汇编代码。

我尝试了很多扩展,但都无济于事,我还尝试了(Amiga Assembly)扩展,但出现了另一个问题,如下图所示:

在Mac上使用VS Code运行汇编代码。

我不知道如何解决这个问题,以及如何在 Mac 上使用 VS Code 运行汇编代码。

英文:

When I try to run assembly code in vs code I encounter a problem as shown in the image below:
在Mac上使用VS Code运行汇编代码。

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:
在Mac上使用VS Code运行汇编代码。

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.

英文:

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)
在Mac上使用VS Code运行汇编代码。

Finally, Right-Click in your code then click (Run ASM code) as shown in the image below:
在Mac上使用VS Code运行汇编代码。

I hope this solution helped you

huangapple
  • 本文由 发表于 2023年2月23日 23:53:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/75547227.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定