A86: regarding multiple strings


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

A86: regarding multiple strings



>From the code fragment
ld hl,3
ld (_curRow),hl ;row 3 col 0
ld hl,moo
call _puts	;write the string in moo
ret
moo:
db 'MOO',0

This yields the hex fragment
210300		;ld hl,3
220FC0		;row 3 col 0
215BD7		;ld hl,moo where D75BH is the address of moo
CD374A		;call _puts
C9		; return
4D4F4F00

If I wanted to declare another string under moo so than I had
moo:
db 'MOO',0
oom:
db 'OOM',0

What would the hex adress of oom be?