At 06:06 03/02/99 +0530, Biswanath Dutta wrote: >In my program I am using __CONFIG -XT-OSC. >From Datasheet I get that the configuration word address is 2007. I >open >the .lst file generated by MPASM and I see that it is 2007 here too. >However the Hex file in Intel Hex format shows >:02400E00FD3F74 >Here the 3FFD is for the XT oscillator type, but the address is 400E >here instead of 2007 -- why ? the addresses in intel hex files are byte addresses, the addresses for pics are word addresses (for 14-bit opcodes), which are mapped into the byte addresses by using 2 bytes for a word. hence pic 0x2007 = intel hex (0x2007*2)=0x400e. check the file content, you'll see that each two bytes form one opcode, ie. one (pic) address. ge