Hi,
Here, I attached screenshot of portion of map file.
The above image shows the size of structure and its member. A near pointer is one of member of that structure. In that map file, it is mentioned that size of near pointer is 4 bytes, but it should not, and actual size of near pointer is 2 bytes. The size of that structure is 'e', means 14 bytes. If I add size of individual member of that structure, it is 16 bytes. It is because wrong size of near pointer mentioned. But start address of each member of that structure is perfect. Only two bytes are aligned for near pointer, but the map file shows 4 bytes.
Why is that happening?
Thanks & Regards,
Sekar Natarajan
This could be due to padding.