Re: A86: Custom Menu Pointers


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

Re: A86: Custom Menu Pointers




He wants to be able to recycle the same code to load several addresses. 
If you use a separate ld for it each time, you could easily use more
space than a small loop that does the same thing.


McBorder@aol.com wrote:
> 
> how is a loop smaller that 1 load statement
> you need at least 1 load statement to start a loop plus a counter and other
> stuff
> 
>  warhorse@bellatlantic.net writes:
> 
> >
> >  Yea, but I want to do a loop so I can save space.
> >  terrence
> >
> >  McBorder@aol.com wrote:
> >
> >  > warhorse@bellatlantic.net writes:
> >  >
> >  > >
> >  > >  The space for custom slots starts at $d1e4. Can I do someting like:
> >  > >  ld BC, $d1e4
> >  > >  inc BC 10 times (10 bytes per entry) prepare for the next slot?
> >  >
> >  > how about <ld bc,$d1ee> ;or just do <ld bc,$d1e4+10d>
> >


References: