Re: [cc65] Question about ca65 object files

Date view Thread view Subject view

From: David Lloyd (dmlloyd_at_atari-central.com)
Date: 2000-06-26 16:43:46


On Fri, 23 Jun 2000, Ullrich von Bassewitz wrote:

> If you run the assembler with the -v (verbose) switch given at least twice, it
> will output the sizes of the segments together with a dump of the fragments (=
> little pieces of code and expressions) in this segment. Here is a sample for a
> short piece of code:
> 
> New segment: CODE
>   Literal: A9 00 A6
>   Expression (1):  zpimp imp $0003 + *
> 
>   Literal: 8D
>   Expression (2):  imp
> 
>   Literal: 00
>   End PC = $0008
> New segment: RODATA
>   End PC = $0000
> New segment: BSS
>   End PC = $0000
> New segment: DATA
>   End PC = $0000
> New segment: ZEROPAGE
>   End PC = $0000
> New segment: NULL
>   End PC = $0000
> 
> The value listed under "End PC" is the size of a section (= part of a segment
> that comes from one object file). The other stuff is the data in the segment
> (expression trees are dumped in RPN).
> 
> Maybe this information can be used for your purposes. The disadvantage of this
> method is that the fragment dump will create quite a lot of output.

That's OK... this looks like it's just what I need.  Can I count on the
format of this output remaining the same in future versions?

- D

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:36 CET