[quote user="MSR"]from this actual and expecting binary would be 512KB[/quote]
Please describe how you arrive at that number. I come up with something very different. We obviously are not thinking about this the same way.
[quote user="MSR"]but where as hex utility generating 226KB[/quote]
Keep in mind the hex utility only converts intialized sections such as .text and .cinit. Uninitialized sections like .bss and .data are not converted, even though they take up space in memory. That explains at least part of the difference.
Thanks and regards,
-George