Re: A82: Help Please


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

Re: A82: Help Please




Easy:
default = TEXT_MEM

ld hl,2000 ;2000->hl
ld (default),hl ;hl->default

hope this helps!


Craig wrote:
> 
> Ok, I'm BRAND NEW to asm and I am starting work on my first game.  I have a
> question:
> 
> 1) How do I set a number to something that contains for example:
>    Default = TEXT_MEM
>    and I want to set a number such as 2000 to Default. In BASIC it would be
>    2000->X.  This is what I want to do.  Is it possible?
> 
> --
> Craig
> http://cjslush.home.mindspring.com
> ***


References: