1: Declare a variable of Register like Register temp.
2: Access 32 bit variable using dot operator as mentioned below.
temp.value=input;
3: Use a for loop and access 8 bytes in each iteration as mentioned above because there are four 8bit variables which combines to 32 bits.