P&E assembler listing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P&E assembler listing

2,382 Views
admin
Specialist II
Hi,
Have been trying to get a reply from P&E (for more than 10days!) to enable access to their forum...
A support request has also gone unanswered for over a week...
What I need to know, is:
Can the CASM assembler output listing be set to give more than the default # of columns?
Changing the environment setting appears to affect only the source (.asm) behaviour, not the
.lst output. Keep getting wrap at 70-something columns, half-way across the printed page, and therefore
about twice as many pages as should be needed and hard to read...
Anyone know how to change this?
Thanks,
Alan. 
Labels (1)
0 Kudos
Reply
4 Replies

1,030 Views
Zahar
Contributor IV
Hello Alan,

Sorry it took this long to get back to you. Did you get your P&E account set up on our website?

What is the email that you used to register for an account? What is the number of the support request that you submitted to P&E.

Best Regards,
Zahar
P&E
0 Kudos
Reply

1,030 Views
admin
Specialist II
Hi,
Have just found answer to my own question!
Need to add listing directive(s) in source-file..Duh!
So used to GUI systems and 'settings' that didnt think of this before...
Alan.
0 Kudos
Reply

1,030 Views
peg
Senior Contributor IV
Hello,

I have this at the top of all my programmes

Code:
.PAGEWIDTH 132

 Not that I usually print it out, mainly for making it more readable on screen.


0 Kudos
Reply

1,030 Views
bigmac
Specialist III
Hello Alan,
 
The .PAGEWIDTH directive specifies the width of the .LST file, including the extra columns generated by the assembler.  To avoid line wrap within the .LST file, the maximum line length for the .ASM file will need to be considerably less than than that specified.
 
For example, with the font size that I use for listing on A4 size sheets, I happen to use the directive .PAGELEN 92T.  To prevent line wrap (or truncation) I need to limit my source line length to 67 characters (not including EOL characters).  This allows for the minimum number of additional columns - I do not normally display the cycle counts for each instruction.
 
You might also wish to experiment with the .PAGELENGTH directive, to see if you can increase the number of lines per page (I seem to recall that the default is 66 lines).
 
Regards,
Mac
 
0 Kudos
Reply