A85: Re: Programming question


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

A85: Re: Programming question



>   ld c, (hl + a)

wouldn't this be like this:

StartValue = TEXT_MEM
Length       = TEXT_MEM + 1

   ld   hl, (StartValue)
   ld   b, (Length)
Loop:
   ld   c, (hl)
   ; Put code to handle what C is in here
   inc  hl
   dec b
    jrnz b, Loop

You would put where you want to start in StartValue, then
put how long you would want this to happen in Length.


Michael Cook
MBCook@Concentric.net


Follow-Ups: