[OpenBIOS] Incorrect implementation of b?branch?

Blue Swirl blauwirbel at gmail.com
Wed Feb 25 21:19:34 CET 2009


On 2/25/09, Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk> wrote:
> Mark Cave-Ayland wrote:
>
>  (cut)
>
>
> > However, the one thing I did find is that fcode-offset is broken for
> backwards branches, since it currently treats the 8-bit or 16-bit offset as
> unsigned - which is not helpful when trying to execute backwards branches.
> Please find attached a patch that does the right thing here - can someone
> review and commit this to SVN?
> >
>
>  *Poke* ?

Basically looks OK to my untrained eyes, except I wonder if there are
sign extension functions in Forth.



More information about the OpenBIOS mailing list