Re: A83: Out of Range.


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

Re: A83: Out of Range.




Hmm, now that I think about it, that's not right either.  It starts at the
end, since 'jr 0' would be the same as a 'nop'.

 jr 0
Label:

 .db Exit-Label

> Actually that would be one byte off because it offsets from the start of
the
> opcode.  You'd need to do it like this:
>
>  ld a,(address)
>  ld (label+1),a
> label:
>  jr 0
>
>
> address:
> .db exit-label




References: