What Can't C Do?

Kenneth Almquist ka at hou3c.UUCP
Wed Mar 14 07:09:27 AEST 1984


One way to reference device registers without using assembly language
is to use preprocessor defines like:

#define reg (*(int *)0177430)

Any C compiler that optimizes this sort of reference is likely to have
problems with other types of C code, such as signal handlers.
					Kenneth Almquist



More information about the Comp.lang.c mailing list