Adding repeatable comment to all instances of a symbol #6225
-
How can I have the listing automatically show a repeatable comment for all instances of a symbol? For example, in the code below I would like to have an predefined EOL comment automatically entered for all instances of the symbol hw_MFP_IERA.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Repeatable comments work with cross references. You put it on the source of your data, and any cross reference location will also show the comment. |
Beta Was this translation helpful? Give feedback.
-
No, it doesn't take me anywhere. It is an external hardware address for the platform the code is to be run on. |
Beta Was this translation helpful? Give feedback.
-
Yes, I have it in the symbol table. |
Beta Was this translation helpful? Give feedback.
The symbol address are not in memory. You need to make a new memory block that they live in. See how all the symbols are red in the symbol table? Once you make the memory block, they should not longer be red and everything should hopefully work (it did for me).