Hey mates!
This time I got a very strange problem. I want to show a question on a LCD. For that i created a loop which takes every letter and draw it on the lcd. Here's my problem: You see the variable Q1_1 writtin down in the middle of the loop. How can I increment this variable? Sot that I get the next letter. I'm using Keil A166.
MOV R13, #00H drawQuest: MOV R15, #00H MOVBZ R15, Q1_1 ;CALL LCD_DW CMPI1 R13, #Q1_1_LEN JMP cc_NZ, drawQuest
Quest1: Q1_1 DB 'Which Color?' Q1_1_LEN EQU $-Q1_1 A1_1 DB 'CYAN' A1_2 DB 'PINK' A1_3 DB 'LILA' A1_4 DB 'GRÜN'
Big thanks at all.
Have a nice time...
CyA