On Thu, 11 Oct 2001 22:23:06 -0400, Dan Sugalski wrote:

>>Are they going to be segmented somehow
>>so there's a "far jump" which takes us out of the current block?
>
>Nope. Jumps and jsrs take absolute addresses, so they can go anywhere. 
>Branches are relative so fixing them up to bounce between segments would be 
>tough, but we're not going to do that. :)

So you'll actually jump to the absolute *machine* address? That way
you'll need to patch them up at load time. If they were relative to the
start of the code, you could just save them and get reloadable bytecode,
without a need for patching up anything at all.

Oh well. There are pro's and cons to everything. I just get the feeling
that your choice as displayed here, originates in conservatism, i.e. do
the same as physical CPU's do. There's no need for that restriction.
This isn't a real CPU.

-- 
        Bart.

Reply via email to