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

Local variables definition in assembler to have them appear as such in debugger

I follow the Keil segment naming conventions when writing my assembler subroutines in order to "imitate" what I would obtain if I had coded those functions in C and to take advantage of the overlaying.

Now, I get the data segments correctly overlaid (that means the assembler is able to know which symbolic names -variables- are associated to each code segment -function-), but I can not have those symbolic names to be interpreted as "local variables" by the debugger (I mean, they do not appear automatically in the "Locals" window).

For example:

?DT?_INICIALIZAR_INSERCIONES?SECCIAL SEGMENT DATA OVERLAYABLE
RSEG ?DT?_INICIALIZAR_INSERCIONES?SECCIAL
VIdInsert_IS :DS 1
VIdLinea_IS :DS 1
;
?PR?_INICIALIZAR_INSERCIONES?SECCIAL SEGMENT CODE
RSEG ?PR?_INICIALIZAR_INSERCIONES?SECCIAL
_Inicializar_inserciones:
;
... (etc)

Could anybody give me a hint?
Thanks.

0