Well, since no one else has said it, it appears your code is in assembly language. This being a BASIC forum is probably going to limit replies. If you have a BASIC program please post and maybe we can help. A schematic is useful information also.

Best wishes