On Thu, 21 Feb 2002 18:57:22 -0600, James Ventura wrote: >Hi, > >I read from MPASM Assembler Help that all addresses are doubled in = INHX8M. Why >is this necessary? > The INHX8M format, by definition, treats everything as bytes. The 14-bit value of each PIC instruction has to be expressed as two bytes in the hex file.=20 The first PIC instruction (PIC address 0) occupies byte addresses 0 and 1, the second (PIC address 1) occupies byte addresses 2 and 3, etc. This doubles the 'apparent' address of each instruction in the hex file. Yes, it's confusing, but it has to be done this way when you use a byte-oriented file format with wider-than-byte data. Regards, Bob=20 -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads