John C. Frenzel wrote: > It looks like the marked line contains the value F9C. > From the microchip book, location 1FF should contain a movlw xx where > xx is the value. movlw is 1100 xxxx xxxx or in hex notation 0C XX > The very end of each line appears to be a checksum. > :1007A000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0FD9 > :1007B000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0FC9 > :1007C000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0FB9 > :1007D000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0FA9 > :1007E000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F99 > :1007F000FF0FFF0FFF0FFF0FFF0FFF0FFF0F9C0CEF <-- this line This line contains 8 word records starting at address 00F0. All 16-bit data is written back-words, Intel style (gotta hand it to 'em!) so Address $00F0 is written F000, seven of the data words are $0FFF (12 bits all 1s) written FF0F and the MOVLW instruction coded as you correctly expect, $0CF9 writes as F9C0 followed by the one byte checksum. Yout OSCCAL value is $F9. > :10080000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F78 > :101FFE00FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F63 > :00000001FF That's another question... -- Cheers, Paul B.