[Oberon] FJump and FixLink

Srinivas Nayak sinu.nayak2001 at gmail.com
Fri Dec 22 07:51:06 CET 2017


Thanks Jorg. Good pointers.

> - are branch offsets in words or bytes?

In words.

> - how much RAM does the board have?

1MB SRAM.

Now I see.
To address 1MB we need = 20 bits
If we present offset in words, we need = 20 - 2 = 18 bit. :-)

[But what about offset in Memory instructions? Didn't find mentioned anywhere... Did I miss it somewhere?]


With thanks and best regards,

Yours sincerely,
Srinivas Nayak

Home: http://www.mathmeth.com/sn/
Blog: http://srinivas-nayak.blogspot.in/

On 12/22/2017 03:51 AM, Jörg Straube wrote:
> Srinivas
>
> try to find out
> - are branch offsets in words or bytes?
> - how much RAM does the board have?
>
> After you found the answers you will understand 40000H.
>
> br
> Jörg
>
>> Am 21.12.2017 um 19:09 schrieb Srinivas Nayak <sinu.nayak2001 at gmail.com>:
>>
>> Dear All,
>>
>> ORG.Mod:
>>
>> In FJump(), we have Put3(BC, 7, L);
>> it means, L is offset which occupies 24 bits.
>>
>> But in FixLink() we see L1 := code[L] MOD 40000H;
>>
>> Why we extract only 18 bits to L1?
>>
>>
>> With thanks and best regards,
>>
>> Yours sincerely,
>> Srinivas Nayak
>>
>> Home: http://www.mathmeth.com/sn/
>> Blog: http://srinivas-nayak.blogspot.in/
>> --
>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>


More information about the Oberon mailing list