Share via

Visual Studio Code (Assembly Language)

Anonymous
2017-11-20T18:33:51+00:00

Hello experts!

I have installed Visual Studio Code from Here.

Then I have installed the extension "x86 and x86_64 Assembly" from Here.

Now, I want to know how to write the hello world program and how to compile and how to run it?

Thank you.

Windows for home | Windows 10 | Accessibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2017-11-24T00:43:28+00:00

    Hi ShayaanMustafa,

    From the above link, click Ask a Question option to post your query.

    Thanks,

    Neha

    3 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-03-19T18:00:33+00:00

    Well, I'm not an expert, but I tried something like the following in task.json with success. In this case, some NASM routines were called from C++. Used g++/nasm combo on Windows 10. VSC.

    {

    "label": "build-ASMwithCPP",

    "command": "g++",

    "args": [

    "-g",

    "-m64",

    "-o",

    "CNASMStringConcat.exe",

    "*.obj",

    "*.o"

    ],

    "group": {

    "kind": "build",

    "isDefault": true

    },

    "dependsOn": [

    "build cpp",

    "build asm"

    ]

    },

    {

    "label": "build cpp",

    "command": "g++",

    "args": [

    "-c",

    "-O0",

    "-g3",

    "-Wall",

    "-fmessage-length=0",

    "TestNASM.cpp"

    ]

    },

    {

    "label": "build asm",

    "command": "nasm",

    "args": [

    "-f win64",

    "TestNASM.asm"

    ]

    },

    Hope this helps somehow.

    Regards.

    Pranabesh

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-11-23T20:52:12+00:00

    Hi,

    I visited your given link. But unable to find the clickable on which I could post the new thread.

    0 comments No comments