A86: writing to internal variables


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

A86: writing to internal variables




ok im trying to load to an internal variable like

 ld hl,(num)
 ld b,h
 ld c,l
 ld hl,pass
loop:            ;get the offset to the right spot in the string
 inc hl
 djnz loop
 ld (hl),a

pass:
 .db "PASSWORD",0

doesnt seem to work, can anyone help here?


Follow-Ups: