Re: [cc65] How to force a read from a memory mapped register w/o volatile

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-12-06 15:57:41
Hi Dave,

> "A volatile declaration may be used to describe an object
> corresponding to a memory-mapped input/output port or an object
> accessed by an asynchronously interrupting function. Actions on
> objects so declared shall not be ‘‘optimized out’’ by an
> implementation or reordered except as permitted by the rules for
> evaluating expressions."

I wasn't aware of that note - thanks for pointing out !

Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Dec 6 15:59:41 2010

This archive was generated by hypermail 2.1.8 : 2010-12-06 15:59:44 CET