RE: A86: Yet another


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

RE: A86: Yet another




Load only one byte, like this:

 ld a, $00
 ld (_curRow), a

or to set only the column:

 ld a, $00
 ld (_curCol), a

> Hello all. I'm new to the programming world, so I'll be the one with the
> dumb questions. Here's my first...
> 
>         ld hl, $0000	
> 	ld (_curRow),hl	
> 
> this sets the column and row to zero, but how do you would you set only
> the row, instead of the row and column?
> 


References: