We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I looked all over the manuals and did a search, but could not find a method for defining variables in an assembler routine as local (as in a C function). in the back of my mind it says that this is possible - how? Thanks in advance Erik
The assembler deals with segments and symbols, but not with local or automatic variables. Local variables are reflected in segment names. The assembler does not know the difference between local (automatic) and global variables. Take a look to Application Note 149: http://www.keil.com/appnotes/docs/apnt_149.asp This application note describes how to structure assembler programs the same way as the C51 compiler does.
Thanks, the keyword was 'OVERLAYABLE' Erik