Hi ShayaanMustafa,
From the above link, click Ask a Question option to post your query.
Thanks,
Neha
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
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.
Answer accepted by question author
Hi ShayaanMustafa,
From the above link, click Ask a Question option to post your query.
Thanks,
Neha
Answer accepted by question author
Hi ShayaanMustafa,
If you need help in writing a code in Visual Studio, I’ll suggest you create a new thread in Visual Studio Code - Community for assistance.
Here’s an article for your reference: https://code.visualstudio.com/docs/extensions/example-hello-world
Regards,
Neha
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
Hi,
I visited your given link. But unable to find the clickable on which I could post the new thread.