[A83] Re: call (hl)


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

[A83] Re: call (hl)




> Is there a way to do:
> 
>   ld hl,label
>   call (hl)
>   [...]
>   ret
> 
> label:
>   [...]
>   ret

Yes...

try this:

   ld hl,(label)
   ld (hack+1),hl
hack:
   call 0                ; any number

PG




References: