The data in the hex file
is the instructions that the processor reads.
Take the following instruction for instance:
That tells the processor to clear address 0x2C (set it to zero). According to the datasheet (Table 24-1), that insturction is the following in binary:
Code:
0110 1010 0010 1100
in hex:
If you were to find that instruction in a piece of code somewhere, the hex file for that code would have 6A 2C whereever the instruction is supposed to go.