No, the hex file is a "ascii" representation of what would be the binary executable file. Because that, the hex file is much bigger (it can be smaller too) of the binary. If you want to seee your real binary file at your hard disk you should convert it from hex to binary. You don't need to convert to program your chips, since the programmer do the conversion at the programming time. If you need the conversion program, send me an email. It is called HEX2BIN.EXE or something like that. Wagner. mike wrote: > > 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 > > ===== >