 | Discussion Forum |  |
|
|
Micro KernelNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Augusto Franciosi Posted 28-Jun-2007 20:17 GMT Toolset C51 |  Micro Kernel Augusto Franciosi 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 | | Read-Only Author Dan Henry Posted 28-Jun-2007 20:44 GMT Toolset C51 |  RE: Micro Kernel Dan Henry "Any ideas??" Yes, do it in assembly language. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|