RAM/ROM size size

Hi all,
I have been using 2406B/2400A for some time,i have a doubt?
After building the target, a m file of /gcc/out has this information.But the size of .dwl doesn’t match with .text size.
Please someone explain in detail.

How to calculate RAM size size ?

How to calculate ROM size size ?

Thanks & Regards
Madhusudan

There would be no reason to expect that the size of .dwl would match with .text size!

HI all,
Tell me this by taking an example of /gcc/out/m file ,

ROM used by your Open AT Application = .text

RAM used by your Open AT Application = Size of (initailized variables) + Size of(Uninitialized variables) + Size of (Common Segment).

Thanks & Regards
Madhusudan.P