Problems annotating a symbols' size using gpasms .DEF

I had been trying to output some sort of addressname mapping for debugging. Using the Map file seemed promising initially. But when trying to dump memory locations, it became obvious that I needed the sizes, too. The pure MPASM syntax does not seem to allow annotating that information. gpasm looked superior in that respect. Their .DEF extension specifically.

BUT it seems to be moving the labels around the memmap when it shouldn't.

This is what I tried:

-----uart.asm--------- radix dec include p16f1705.inc include coff.inc

GLOBAL l_buf GLOBAL l_offs

LINEAR0 UDATA ;l_buf RES 256 .DEF l_buf,global,type=(DT_ARY

Reply to
Johann Klammer
Loading thread data ...

It seems the GP_ARR auxiliary symbol is not implemented A text search for GP_ARR shows it's only in the libgputils/gpcoff.h header.

Reply to
Johann Klammer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.