Recognizing that the original question referred to an MPASM solution, an alternate approach would be an offline program to manipulate the .hex file so that zeroes are written to all addresses not otherwise filled. Would take a few hours to write and test the program, but may save time in the long run once the capability exists. Regards, Steve -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics