Hello all, I'm trying to teach myself some manual memory management. My approach so far.
Using the datasheet I find a bank of memory. I use a pointer to point to the first byte in this block and iterate through filling it with zeros. After, I set my pointer back to the first byte and then allocate memory as needed.
My question is, how do I "control" where this pointer is stored? I'm pretty sure this is handled at compile time. I'd like to have "control" of where everything is stored. Trying my best to write a simple RTOS.
Using the datasheet I find a bank of memory. I use a pointer to point to the first byte in this block and iterate through filling it with zeros. After, I set my pointer back to the first byte and then allocate memory as needed.
My question is, how do I "control" where this pointer is stored? I'm pretty sure this is handled at compile time. I'd like to have "control" of where everything is stored. Trying my best to write a simple RTOS.