I am working on a project where I need to take values contained in a hexadecimal value and split it. I will have a register that contains a value, 0xAA00BBCC and need to split it into 3 different integers, AA, BB, and CC
For example:
if the value is: 0x88000232, I need to split it into 3 integers: A: 88, B: 02, and C: 32.
How would I go about doing this?