I can do this in SDCC: xdata at 0xF901 unsigned char port_e;
how do I do it in Keil? The help says: "unsigned char xdata variable" but where does the address, 0xF901, go?
I can do this in SDCC: xdata at 0xF901 unsigned char port_e;
how do I do it in Keil? The help says: "unsigned char xdata variable" but where does the address, 0xF901, go?
Hello,
You can do it like this:
unsigned char xdata byMyVar _at_ 0xF901;
Best regards Henrik
Have something to add? Share your thoughts — no account required.
Ask the community — no account required