On Tue, Dec 19, 2017 at 02:44:49PM -0500, Jd Lyons wrote:
On Dec 19, 2017, at 2:40 PM, Segher Boessenkool segher@kernel.crashing.org wrote: On Tue, Dec 19, 2017 at 02:09:09PM -0500, Jd Lyons wrote:
Here’s how it handled in SLOF
: b?branch ( flag -- ) ?compile-mode IF read-fcode-offset ?negative IF dest-on-top postpone until ELSE postpone if THEN ELSE ( flag ) IF fcode-offset jump-n-ip \ Skip over offset value ELSE read-fcode-offset ?jump-direction jump-n-ip THEN THEN ; immediate
Do you think something like that would work Segher?
Yeah, something like that. I don't know if that will solve the problem, but it will solve _a_ problem.
True, we may as well make a few improvements to Openbios, if we can………
Tho I’m having trouble finding where read-fcode-offset is defined in SLOF.
Something similar in openbios is called fcode-offset .
Segher