top/contents search
It's also possible to streamline these accesses, effectively eliminating the explicit pointer variable, with a preprocessor definition such as
	#define MAGIC (*(volatile unsigned int *)0x12345678)
after which the macro MAGIC refers to the value at the location.

back


This page by Steve Summit // Copyright 1995-2004 // feedback