Hi,
I have a long int:
unsigned long int x = 0xFFFFFFFFAAAAAAAA;
I want to get
unsigned int low;
unsigned int high;
such that
low = 0xAAAAAAAA
high = 0xFFFFFFFF
I tried a bit shift and it doesn't work with MSVC but it does work with RVCT (ARM compiler). Is there a standard lib function I can use?
Thanks