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.
Hi all, im trying to code a real time micro kernel for MSC1213, but 2 problems had occurred:
1) How can I do a RETI instruction? In others words, I want to do this: POP, POP, CLR TF0.... (I was using interrupt from timer 0)
2) I want to put the value from stack here:
void (code *task_pc)(); task_pc = 16 bits value from stack
But stack is only 8 bits, so i think i should use dptr....
Any ideas??
Thanks in advance
"Any ideas??"
Yes, do it in assembly language.