Re: A86: variables and stuff. . .


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

Re: A86: variables and stuff. . .




Butler Family wrote:
> 
> i have a variable that i want to store  a number in, then install an
> interrupt, and be able to call the variable up and cp it with a  the
> variable is:
> 
> speed equ $-int+_user_int_ram+1
>    .db $1

im not sure what u are asking, but i think u want to know how to
increase the value of speed like this:

 ld hl,(var)
 inc l
 ld (var),hl

> 
> and also i need to know what the difference between .db and .dw and it
> there are any other thins like those

.db declares a byte and .dw declares a word


Follow-Ups: References: