iRMX C Code For 80x86 Processors
The ANSI C compiler for the iRMX operating system provides many features for working with the 80x86 family of processors. The selector data type is used to designate tokens that basically correspond to the addresses of object descriptors. The selector type could be replaced with the unsigned int type. The example uses the selector type because it is used by all system call prototypes in RMXC. H. The #pragma interrupt directive tells the compiler to generate the proper prologue and epilogue (e.g., IRET) for an interrupt function. The are also many built-in functions for dealing directly with the 80x86 processor. In this example, inbyte and outbyte functions are used for reading and writing I/O ports.