A86: Input (yes another input question)


[Prev][Next][Index][Thread]

A86: Input (yes another input question)




After what Dux just said about using .db to input I got to thinking.  I 
was wondering would this code work for getting a 3 char string?



KeyLoop:
 call GET_KEY
 ld string+1,a
 call GET_KEY
 ld string+2,a
 call GET_KEY
 ld string+3,a

Other_Code:
 ......



string:
 .db 0,0,0

Wouldn't that work?  Or am I just thinking in another programming 
language?

Just curious,

Matt

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com