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