Hi all ,
I am trying to implement a 8051 based RTOS with sdcc .I am going
to use C and asm together. I cant make some decisions;
1. What will be the stack size, I suppose 64 byte?
2.Context switch function, I have implemented one that copies all
of the neccesarry registers one by one, I didnt push the
registers(R0-R7, PSW,......) do you think this works?
3.And when I compile C functions it uses first and second banks,
for task list I want to use bank 2 and 3, is this a problem?(just
pointers to external ram)