I am using embedded C for motorola 68000 microprocessor. I want to store the pointer address in a uint16 variable and then, want to do the mod of the variable. My main reason for doing this is to check the sectors of EEPROM are correctly assigned.
Eg->
uint16 a, c;
uint16 *b;
b=&a;
c=b%4;
Something like this. Obviously, I cannot do it this way.
Thanks