I am A student and I need to design A 8051 program that uses the serial interrupt by using uart it is only a simulation , according to my book it is interrupt 4 but when I send something to trigger the RI flag my program does not jump to the interrupt and it is in a while(1) loop in my main function. Any advice or help?
do you have 2 bits (you will learn by finding out which two) set in the IE SFR
I am not sure what you mean with 2 bits I made the EA 1 ? But I can IE a value of 0x08 to activate the serial imterrupt?
See http://www.keil.com/forum/63042 for links to the so-called "bible" for the 8051, and to Keil's toolchain documentation and Application Notes.
Also http://www.keil.com/download/list/c51.htm for Keil's examples.
And http://www.keil.com/books/8051books.asp for a book list.
Note that the 8051 has been around for decades - there is no shortage of examples - both online and in old-fashioned books, etc.
do you have 2 bits
I am not sure what you mean with 2 bits I made the EA 1 ? But I can IE a value of 0x08 to activate the serial interrupt?
both what you say is ONE bit