All SDCC -
I have a question about an idata data type on an 8051
architecture:
For example:
static volatile unsigned char idata rxbuf[32]; //
Uart receive buffer
On a
8-bit architecture where ISRs are used... do I need to protect accesses to
this array to ensure that data is not corrupted? Using the critical { }
compiler directive for instance.
Or
does interaction with this buffer not require this
protection?
Thanks
in advance for your help on this.
Jon
Hallsten
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user