At 06:18 PM 10/12/2001 +0200, Ritz Daniel wrote:
> > >i fixed that. but ther's only a jump_i, no jump_ic...
> > >
> > >"jump Ix" now jumps to the absolute address held in a register Ix.
> > >Absolute means
> > >start of the bytecode + Ix.
> >
> > It can't mean that. This:
> >
> >    set I0, 0
> >    jump I0
> >
> > should coredump.
> >
>
>i think parrot is a virtual cpu so the word absolute should be seen in 
>context
>of the vm, not the real cpu we are running on.

That, unfortunately, is rather excessively restrictive. (Or we would have 
to take over the MMU hardware when we were running. I think I'd like to not 
do that...)

>within the vm address 0 should be address 0 of the bytecode, not the
>real cpu.

Which bytecode segment, then? And how do we jump from one segment to another?

If you want to stay within the current segment you branch, in which case 
jumps are unnecessary altogether.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to