AnsweredAssumed Answered

Getting access to a string in asm

Question asked by ikauf ikauf on Nov 27, 2009
Latest reply on Nov 28, 2009 by bigmac

Hello experts!

 

I want learn something about accessing a string. I found the application note AN1752. But I does not understand this exactly.

 

I done some coding on a LCD and displaysome chars by this way:

 

lcd_val:  DS.B 1 

 

write:

        lda #'H'

        sta lcd_val

        jsr write_char

        lda #'E'

        sta lcd_val

        jsr write_char

        lda #'L'

        sta ..........

        ...............

 

Now I want learn how to get access to 'HELLO' Array and store it to lcd_val:

 

MSG: DC.B 'HELLO'

 

 

Can anyone tell me how to do this?

 

best regards,

 

norticum

Outcomes