[Oberon] Volatile variables in Oberon

Chris Burrows chris at cfbsoftware.com
Sat Jul 30 01:39:36 CEST 2016


> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> Srinivas Nayak
> Sent: Friday, 29 July 2016 1:57 AM
> To: ETH Oberon and related systems
> Subject: [Oberon] Volatile variables in Oberon
> 
> In Oberon, do we have a way to specify, if a variable is volatile? If not,
how do we work around for such a need?

I cannot think of a situation where you would need to specify that a
variable is volatile when using Oberon-07. Can you think of one? 

This constraint is typically only required on systems that implement unsafe
optimisations and variables that are mapped to peripheral registers.   

Regards,
Chris Burrows
CFB Software
http://www.astrobe.com




More information about the Oberon mailing list