Why do you need 10 strings??? I normal allocate enough for 1 then reuse it as it's only needed in one place..
If you need that amount of static data, then make it global then the stack won't destroy it..
Here's how it works:-
then the subroutine address and return byte and possibly 50 bytes.. if you call another routine the stack will already be at 68 bytes... You must also think about interrupts..... they also need storage.... Once the stack is depleted it starts to eat away at ram.. Its the programmes job to manage the stack...
I am now working on mcu-mcu. The master sends out the slave read address and then the register address, is the register address the actual memory address or is this something that I have to define. For instance if I want the result from the adc @ 0x06 is the slave going to return what is stored at that address?