volatile pointers

Neville Mair nev@snet.net
Sun Feb 23 04:42:00 GMT 1997


I tried this 

#define	SIMCR (( volatile unsigned short 
*)0Xfffa00)

This creates a 'volatile pointer' to short.
	Everytime the register (SIMCR) is accessed, 
the 
	pointer is reloaded.

What is the syntax to create a pointer to a 
'volatile short'.

Sorry for the simple question, but I couldn't find 
an answer
anywhere else.



More information about the crossgcc mailing list