Diamant
Newbie level 6
Need access to bytes of integer (16 bit).
I can do this in case if I know the integer address:
char *variable1 = (char*) 0xXXX; (address of integer)
char *variable2 = (char*) 0xXXX+1; (address+1 of integer)
is there any other way?
char *variable1=(char*) IntVariable; -could not be compiled
Moving integer left/right to receive Low/High byte is not god idea for me.
...Need help of advanced programmer...
I can do this in case if I know the integer address:
char *variable1 = (char*) 0xXXX; (address of integer)
char *variable2 = (char*) 0xXXX+1; (address+1 of integer)
is there any other way?
char *variable1=(char*) IntVariable; -could not be compiled
Moving integer left/right to receive Low/High byte is not god idea for me.
...Need help of advanced programmer...