skip to Main Content

When I try to run assembly code in vs code I encounter a problem as shown in the image below:
enter image description here

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:
enter image description here

I don’t know how to solve this problem, and how to run assembly code on mac by using vs code

2

Answers


  1. Chosen as BEST ANSWER

    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) enter image description here

    Finally, Right-Click in your code then click (Run ASM code) as shown in the image below: enter image description here

    I hope this solution helped you


  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search