Re: A86: Input Routines


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

Re: A86: Input Routines




In a message dated 8/27/98 8:36:54 PM Eastern Daylight Time,
DieKenny97@aol.com writes:

>  ld hl,(Var)
>  
>  Var:
>      .db 0


the only problem with this is that hl is 2 bytes and Var is only one.  you
could do this:

	ld a,(Var)

Var:
	.db 0

or:

	ld hl,(Var)

Var:
	.db 0,0		;or .dw 0