Thank you, that's the idea I needed. I just didn't realize that I can simply use RETLW even if I need to return multiple values for one 'parameter'. BTW don't you have the character patterns for the whole alphabet? I tried to google them, but it seems that this subject is not as interesting as character generators for LCDs. David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist