[Oberon] FPGA - LONG WORD memory access
Jörg
joerg.straube at iaeth.ch
Thu Apr 27 22:03:59 CEST 2017
Tomas
ProjectOberon is little endian
Jörg
> Am 27.04.2017 um 15:26 schrieb Tomas Kral <thomas.kral at email.cz>:
>
> Hi,
>
> Just reading the chapter. Perhaps I should have asked about memory byte
> order, if it is BIG o LITTLE endian.
>
> I was surprised to see this memory block
> $0808 FFFF,
>
> Read in a SET variable as, $FFFF 0808.
>
> Tomas
>
>
> On Thu, 27 Apr 2017 21:46:29 +0930
> Chris Burrows <chris at cfbsoftware.com> wrote:
>
>>> -----Original Message-----
>>> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
>>> Tomas Kral
>>> Sent: Thursday, 27 April 2017 6:34 PM
>>> To: Oberon@
>>> Subject: [Oberon] FPGA - LONG WORD memory access
>>>
>>> Hi,
>>>
>>> Is allowed to address 4byte integers on odd memory address, or does
>>> it have to be on even boundaries only, aligned on MOD 4?
>>>
>>> I remember from other platforms, namely 68K, words or longs on even
>>> address only.
>>>
>>
>> Your question is answered in Section 17.1 "The SRAM memory" of the
>> project Oberon documentation i.e:
>>
>> "The selection of the byte affected is determined by address bits 0
>> an 1 (which are ignored in the case of word-access)."
>>
>> Regards,
>> Chris Burrows
>> CFB Software
>> http://www.astrobe.com
>>
>>
>>
>> --
>> 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