[Oberon] FPGA Oberon some news and a reply to F.P.

Chris Burrows chris at cfbsoftware.com
Sun Mar 16 02:10:14 CET 2014


> -----Original Message-----
> From: eas lab [mailto:lab.eas at gmail.com]
> Sent: Tuesday, 4 March 2014 4:41 PM
> To: ETH Oberon and related systems
> Subject: Re: [Oberon] FPGA Oberon some news and a reply to F.P.
> 
> PASCAL / Modula / Oberon were never intended to directly access bytes in
> absolute-addressed memory 

Oberon is (and always was) designed to enable you to directly access bytes
in absolute-addressed memory using its SYSTEM features:

  SYSTEM.GET(a, v) is equivalent to v := Mem[a]

and 

  SYSTEM.PUT(a, x) is equivalent to Mem[a] := x

where v and x are any basic type and a is an absolute address which can be
obtained e.g.

  a := SYSTEM.ADR(v)

where v is any type.

Regards,
Chris

Chris Burrows
CFB Software
Astrobe: Oberon for ARM7 and Cortex-M3 Microcontrollers
http://www.astrobe.com








More information about the Oberon mailing list