I have figured out a way to get it working, it displays perfectly. I noww have one more problem, can some one help me with a macro to display strings? I have to display 100 sentences, so I figured 100 truthtables. I'm working with mplab assembler pic16F877. It must take as little memory as possible. Please help.