Hi, I am new to 8051, I am learning to program by myself. I do have a doubt in programming for interrupts. When a interrupt occurs (external), the control jumps to ISR location, how do I program for that, ie. for interrupt. Thankyou
Read all about it in the Keil manuals.
Here's some Tutorials: http://www.8052.com/tutorial.phtml There's examples of interrupt-driven software in the downloads section: http://www.keil.com/forum/docs/thread5299.asp References for books etc given here: http://www.keil.com/forum/docs/thread5311.asp To program the 8051, you need to understand it. For that, you need to read the "bible" for the 8051: Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf