We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm new to keil and my boss forced me to use atmel 89S8252 so plz bare with me i have a few questions : 1. when a higher level priority interrupt interrupts lower level interrupt, do i lose the old interrupt or does it come back to it after higher level priority interrupt returns ? 2.Can I declare eeprom variable in keil c or do i have to do it in low level (i.e access the registers)?
I'm new to keil and my boss forced me to use atmel 89S8252 so plz bare with me i have a few questions : Forced? Consider yourself lucky. At least it's not a PIC :-) 1. when a higher level priority interrupt interrupts lower level interrupt, do i lose the old interrupt or does it come back to it after higher level priority interrupt returns ? It comes back to the interrupted ISR. 2.Can I declare eeprom variable in keil c or do i have to do it in low level (i.e access the registers)? C compilers don't know about EEPROM or RAM or serial EEROM. If it's memory mapped, then declare it _at_ the location and be sure it is not modified by the startup.a51. So you need to add a non-standard C extension to your C code and ensure the C run-time knows about it. - Mark
can u give me example on no. 2 plz ?
Ok i got it, thanx alot