piclist 1999\10\24\192040a >
Thread: c compiled program size
www.piclist.com/techref/language/index.htm?key=c
picon face BY : mike email (remove spam text)



Hello,

This is somewhat of a silly question, but I am
confused about what my C compiler (HItech) is telling
me and what I see in my PC directory.

When compilation, linking etc. is complete, the
compiler/linker says that I have a program with 1600
words "in program rom" and it will take "90 bytes in
RAM".

To my understanding, the 16f877 has 14 bit words,
which means I have 1600*(14/8)=2800 (8 bit) bytes in
program rom.

I interpret this to mean that my hex file should be
approximately 3K bytes or so when I look in the
directory. Instead, it is about 9K. Which is the
correct value? If its the latter, I'm going have to
cut, cut, cut...:).

Thanks.

Mike



=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


seeking: microchip begin mplab
<19991024232344.8252.rocketmail@web701.mail.yahoo.com>

See also: www.piclist.com/techref/language/index.htm?key=c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) c compiled program size

month overview.

new search...