[A83] Re: Conditional bcall()ing
[Prev][Next][Index][Thread]
[A83] Re: Conditional bcall()ing
>From: Peter-Martijn Kuipers <hyper@hysoft-automation.com>
>
>If I remember correctly, jr $+0 jumps to the next instruction.
>Checked it by executing
>:AsmPrgm
>:1800C9
>(jr $+0 \ ret)
>
>it exits, so you only need 3 bytes.
>
>--Peter-Martijn
Not at all.
jr $+0 will jump to itself and make a forever loop.
jr $+2 will jump to next instruction though.
Go test!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Follow-Ups: