Scott Dattalo wrote: > If you have gpasm, then take a look at gpdasm (the gnupic dis-assembler) which > is packaged with gpasm. It can read and interpret hex files. Also, gpsim has the > capability to read hex files. Hadn't thought to look there. Oh well, I already have my module written. It wasn't hard and it was probably a good learning experience. From a quick look at readhex.c it looks like you're not sorting the MemBlocks. Is it safe to assume that the hex files are always in order or does it not matter? I quicksort my array just to make sure, didn't know if it was necessary. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads