[A83] .dw -> .db +call _ldhlind


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

[A83] .dw -> .db +call _ldhlind




Could somebody explain why this doesn't only display the text with the .dw??

	call _clrscrnfull
	call _homeup
	ld hl,text
	jp _puts

text: .dw othertext
othertext: .dw txt
txt: .db "Hi!",0

But this works fine!!

	call _clrscrnfull
	call _homeup
	ld hl,text
	inc hl
	inc hl
	inc hl
	inc hl
	jp _puts

text: .dw othertext
othertext: .dw txt
txt: .db "Hi!",0

Instead of inc hl I can also use call _ldhlind.
Does this only do inc hl??

	SUCKER


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Follow-Ups: