This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

size of near pointer


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

[locked by: AZ_Renesas at 9:47 (GMT 0) on 9 Feb 2024]