A85: Usgard


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

A85: Usgard




I was writing some code when I noticed something strange (when I made an
error):

ld hl,&0000
ld ($800C),hl
ld hl,&TEXT
call D_ZT_STR

TEXT:
.db "text",0

When that was executed the screen scrolled up, and no text was displayed.
Notice the ld hl,&0000 opposed to the proper ld hl,$0000. What is happening
when this is executed?

Try it out.

-Mikel Blanchard
TheLayer.home.ml.org


Follow-Ups: