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.
The uVision3 IDE has a tab in the "Options for Target '... '" dialog box called "Listing." I have been using the "Page Width" and "Page Length" controls to make my listings fit nicely on my screen, paper, etc. This week I have added a module in assembly for the first time. Its page usage is radically different from C and I need to specify this separately, but I can see no way to do that from the dialog box. As an alternative, I could insert directives into each source module, but I can't find a way to disable the controls generated by the dialog box. Is there some arbitration scheme (shortest one wins?) that would allow me to generate C and assembly listings with different numbers of rows & columns per page in the same project? Thanks.
============================================================ Gary Lynch | To send mail, change no$pam in lynchg@no$pam.com | my domain name to stacoenergy
Personally, I'd prefer that the tools did no pagination at all! Or at least that there was an option to disable pagination. What they do is prettty crude - just a throwback to the days of lineprinters. Modern editors can do a far better and more flexible job. Therefore I just set the page and line lengths to their max. If you leave the settings in the 'Listing' tab alone, you can explicitly specify the appropriate options in the 'Misc Controls' box for the Linker and Assembler
I tried that, and it works! I learned a long time ago that the readability of a listing is proportional to the number of lines I can see at one time, so I write all my C source in 60-space lines, and print 2 columns on a A-size sheet in duplexed landscape mode (I usually print out only the source module, as the listings don't add much in C.) If I write something in assembly, I usually wind up looking at the bytes and have to print the listing in portrait mode, one column per page. Thanks.