Hello Every one i am new to keil but got the basic knowledge and i am going to create a program in which when ever the Serial (RI) interrupt occurs then SBUF must send its contents to any Globle variable but i dont think that its as simple as its look like, cuz even in Keil's Simulator the contents of SBUF are not accesible like in the interupt i use statement like
var=SBUF;
but the var is not gaining the value could any one please help me ?
Well Sir Andy i know that there are two of them means one is read only and the other is write only but i want to access the SBUF which holds the Serial Recivings and i want to access the contens of that SBUF but thats not working because that SBUF is not giving its value to any variable in my example var is variable name.......
i have tried one example but not working even in the simulator