Total Pageviews

Friday, June 3, 2011

Using Microprocessor assembler Masm on windows 7/XP

Its a big pain in the ass to use assembler programs like in your labs. So I have put together a small tutorial giving you the tools required to use these onWindows 7/XP

First Download everything You find in this link
http://www.4shared.com/file/in4_iA_y/Working_Masm.html

Install the DOS BOX.74 you find in the above link. After Installing that copy the "Masm1" folder from above link into your "C" drive. Next  Open the Dos Box application clicking on the icon which should be visibible on your desktop. You will find a window like this



Once inside the Dos Box type in the commands you find in the above image. After you're inside "C" type 
1)"edit"-here you will type your code and then save it as ".asm" file.
2)Once saved type "masm filename.asm"
3)Then "link filename.obj"
4)Followed by "cv filename.exe"

After the 4th step is typed You will find a window that looks like this




Press F5, you should get a message saying program terminated normally. After which You should Type in
d ds:0000 in command window followed by "Enter" and you're done. Happy Coding :)





No comments:

Post a Comment