At 12:03 PM +1000 4/19/02, Andrew J Bromage wrote: >G'day all. > >On Thu, Apr 18, 2002 at 09:09:59PM -0400, Dan Sugalski wrote: > >> I've applied this, with the exception of the branch and bsr ops. At >> the moment, I agree--I can't see any case where "if" or "gte" needs >> to have a variable target. (I can see it for branch, bsr, jump, and >> jsr, as those are partially for subroutine dispatch, so no changes >> there) > >OK, this raises a question: What _is_ the difference between branch and >jump, or bsr and jsr? The answer I assumed was that jump/jsr were for >variable targets and branch/bsr were for static targets. Is that wrong?
Yup. The branches are relative to the current PC, the jumps take absolute addresses. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk