First to start coding with assembly language you will need MASM32 which is an assembler and also Visual Studio Code which will help you with the coding you can download the softwares from the links below
MASM32
Visual Studio Code
Run MASM32 setup, you might encounter some error messages
but don’t worry say yes/ok to all. When MASM32 is fully installed close the
program and run Visual Studio Code setup and when Visual Studio Code is fully
installed open the program and write a simple “Hello World” program. For
beginners below is an example of a simple assembly language “Hello World”
program.
C:/Users/charl/Documents/Projects/hello world>
NOTE : (hello world masm is the folder where I saved the program
to)
Then write this line of code
C:/Users/charl/Documents/Projects/hello world
masm>\masm\bin\ml /c /Zd /coff helloworld.asm
And press enter
The code above compiled it to an object file and now we will
turn it to an executable file.
C:/Users/charl/Documents/Projects/hello
world masm>\masm32\bin\Link /SUBSYSTEM:CONSOLE helloworld.obj
And press enter
Now let’s run the program
C:/Users/charl/Documents/Projects/hello
world masm>helloworld.exe
It’s usually annoying that whenever you want to run the program you have to go through/write these three codes. To prevent that open up Visual Studio Code and write these codes and when you are done save it with “.bat” For example compile.bat
set programName=helloworld
\masm\bin\ml /c /Zd /coff %projectName%.asm
masm32\bin\Link /SUBSYSTEM:CONSOLE %projectName%.obj
%projectName%.exe
C:/Users/charl/Documents/Projects/hello world masm>compile.bat
For beginners here are some documents that will help you to learn and understand Assembly Language.. Download PDF Files below
Programming 8085
Assembly Programming
ConversionConversion EmoticonEmoticon