> 3) Lookahead table (16 bytes of nibbles): > 1 instruction to set the lookahead base address > 1 instruction to save the original byte > 1 instruction to AND the original byte lower nibble > 1 instruction to get the table nibble > 1 instruction to save this table byte > 1 instruction to retrieve the original byte > 1 instruction to swap original byte nibbles > 1 instruction to AND the original byte lower nibble > 1 instruction to get the table nibble > 1 instruction to OR with previous table nibble > 1 instruction to swap final byte nibbles > Total Program Instructions: 11 + 16 (table) > Total Instructions Executed: 11 I made it Total Program Instructions: 7 + 19 (table) &Total Instructions executed: 7 eg. movf original,w call rev_nibble movwf result swapf result,f swapf original,w call rev_nibble iorwf result,f rev_nibble andlw 0x0F addwf pcl,f retlw 00 retlw 08 ....etc... Thanks for all the suggestions.. jim