Hello guys!
I'm programming ICE in C, and because I haven't written any C before, I have some questions.
Thanks in advance!
I'm programming ICE in C, and because I haven't written any C before, I have some questions.
- How can I define a structure to be located at location X, and then I push/pop to it? I've now this code:
Code:
typedef struct outputStack {
uint8_t type;
uint24_t operand;
size_t size;
};
with
Code:
struct outputStack *outputPtr;
outputPtr = (struct outputStack *) (uint24_t*)0xD62C00;
outputPtr.size = 0;
but that doesn't work
- More follows...
Thanks in advance!
![Smile](images/smiles/icon_smile.gif)