For completeness there is also a 02 record type that contains a segment (as opposed to 16 top bits of linear address). Don't know why you'd ever use that for a PIC, but you might want to ignore it too. Al Williams AWC * Floating point A/D http://www.al-williams.com/awce/pak9.htm > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of wouter van > ooijen & floortje hanneman > Sent: Sunday, January 27, 2002 1:16 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: new in .hex file: type 04 lines? > > > > If I recall correctly, 04 provides the top 16 bits of a 32-bit > > address. It stays in force until another 04 record occurs. > > > > It always looks like :0200004XXXXCC > > > > Where XXXX is the segment address and CC is the usual checksum. > > That would explain it nicely. Only one such line appears, and > it is the first line. I wanted to know because I want my > compiler to produce exactly the same .hex file as mpasm. And > I guess I'll have to update my programmer software to ignore > such a line. Thanks! > > Wouter > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads