8 May 2013

PROGRAMMING 8051 USING KEIL SOFTWARE

Here you find process and programing of 8051 using keil software

PROCEDURE:

1. Click KeilRVision2 icon in the desktop
2. From Project Menu open New project
3. Select the target device as ATMEL 89C51
4. From File Menu open New File
5. Type the program in Text Editor
6. Save the file with extension “.asm”
7. In project window click the tree showing TARGET
8. A source group will open.
9. Right Click the Source group and click “Add files to Source group”
10. A new window will open. Select our file with extension “.asm”
11. Click Add.
12. Go to project window and right click Source group again
13. Click Build Target (F7).
14. Errors if any will be displayed.
15. From Debug menu, select START/STOP Debug option.
16. In project window the status of all the registers will be displayed.
17. Click Go from Debug Menu.
18. The results stored in registers will be displayed in Project window.
19. Stop the Debug process before closing the application.


PROGRAM:

ORG 4100
CLR C
MOV A,#05H
MOV B,#02H
DIV AB

No comments:

Post a Comment