Assembly language programming | Simple Assembly Language Program |

Published: 24 September 2014
on channel: Vishal Gaikwad
52,206
91

This video explain simple assembly language program ..!!
Addition of two numbers.
Please watch this video in Chrome browser..!!

Tutorial 2 : Steps for Creating Simple Project using Keil Software

Step 1: Start keil IDE by double clicking on keil icon.
Step 2: To create a new project click on project--select new project
Step 3: Select location to store your project & type your project name,click on save button
Step 4: Now select your controller manufacturer name for e.g. Intel & then 80C51AH for MIC-8051 microcontroller,click ok,select no
Step 5: Now click on file-- new file, this is your text editor here we can write our assembly program.
Step 6: Here I am writing simple program for addition of two numbers.
Step 7: After writing your program save it in the same folder where you have stored your project,with .asm extension..
Step 8: Now add your assembly program to source group by following steps,
Right click on source group -- select add files to source group 1.
In this step select "Files of type" as asm source file
Now you will see all .asm files.
Step 9: now select your program and click on add & close
Step 10: Now you can see your program in source group
Step 11: Now right click on source group & click on Build Target
Step 12: Now output window will show errors & warnings...here there is no error or warning,If there is any warning/error please remove it and rebuild target again
Step 13:To Start simulation click on debugg & select "Start/Stop debugg session"
Step 14: Now u will see project window with all internal registers of Microcontroller.
Step 15: To run program & to see output go again "Debugg" and click run u will get final result,here output of my program will be 30H which will be stored in A register...
Step 16: To run program step by step click on step or F11 shortcut key for debugging.....

Thanks for watching....!!


Reference : www.keil.com


On this page of the site you can watch the video online Assembly language programming | Simple Assembly Language Program | with a duration of hours minute second in good quality, which was uploaded by the user Vishal Gaikwad 24 September 2014, share the link with friends and acquaintances, this video has already been watched 52,206 times on youtube and it was liked by 91 viewers. Enjoy your viewing!