A85: problems with the stack


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

A85: problems with the stack




I am new to assembly programming and I was messing around with doing 
stuff with the stack, when I got this error:
ERROR <0?  
and it had the same menu thing like with normal errors and had a quit 
menu option but that was it.  Here's the code I used:
ld hl,0
push hl
pop hl
ld (CURSOR_ROW),hl
ld hl,1
ld (CURSOR_COL),hl
ld hl,&title
call D_ZT_STR


title:
.db "hello",0

.end

Can anyone tell me why its doing that and what I am doing wrong?
Thank You
Master Nick


Visit Master Nick's Computer Programming:
http://www.angelfire.com/oh/masternick/
masternick2000@hotmail.com


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


Follow-Ups: