This is a matter of style to me and experience level. I learned the data areas and liberals at the tail end of your code ...always worked for me. Doesn't mean that's the only way to to do II
Scott ford www.identityforge.com Tell me and I'll forget; show me and I may remember; involve me and I'll understand. - Chinese Proverb On Apr 12, 2013, at 8:24 AM, Tom Marchant <[email protected]> wrote: > On Thu, 11 Apr 2013 23:22:15 +0200, Bernd Oppolzer wrote: > >> I just expanded our local startup macro to support >> baseless code areas. The standard startup macro especially for >> main programs generates lots of instructions, that count for some >> 600 bytes (for example: error handling, buildung a LE environment etc.). >> So I cannot have a base register for data at the beginning >> of the program, because there resides this large startup macro. > > Sure you can. How much of what is generated by that startup macro has to be > before the data area location counter is defined? > >> And: the LTORG at the end of the program needs addressibility; > > Of course. LOCTR takes care of that > > It's not my dog. > > -- > Tom Marchant
