This video step by step demonstrates how to Install NASM on Windows and How to Write and Test the First Assembly Program on Windows. Following steps are performed in this video.
Step-1 Download Code Blocks - 32 Bit Windows with MingW
http://www.codeblocks.org/downloads/b...
Step-2 Download NASM - 32 Bit Windows
https://www.nasm.us/
Step-3 Extract NASM Installer in C:\Program Files (x86)\CodeBlocks\MinGW\bin
Step-4 Write following Assembly Code and save in d:\demo1.asm
global _main
extern _printf
section .text
_main:
push message
call _printf
add esp, 4
ret
message:
db 'Hello World From Dr. Parag Shukla', 0
Step-5 Open Command Prompt and use cd command to change directory to bin
cd "C:\Program Files (x86)\CodeBlocks\MinGW\bin"
Step-6 Generate Object File
nasm -f win32 d:\demo1.asm -o d:\demo1.obj
Step-7 Generate Exe file using GCC
gcc d:\demo1.obj -o d:\demo1.exe
Step-8 Run Exe file to produce the output
d:\demo1.exe
Thank You
For Learning More about Programming
Subscribe to My Channel: https://www.youtube.com/c/drparagshuk...
Watch video Download and Install NASM and Write and Test first Assembly Program on Windows - Practical Demo online, duration hours minute second in high quality that is uploaded to the channel Dr. Parag Shukla 25 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 29,218 times and liked it 332 visitors.