There are no alignment restrictions on data types. However, extra memory cycles may be required for the x86 processor to properly handle misaligned data transfers.
See "Structure Padding" for more information on how this relates to device drivers.
The x86 processor uses little-endian byte ordering. The least significant byte of an integer is stored at the lowest address of the integer.
Drivers should not perform floating-point operations, as they are not supported in the kernel.
Intel Corporation publishes a number of books on the x86 family of processors:
Intel Corporation, 80386 Programmer's Reference Manual, 1986. ISBN 1-55512-022-9.
Intel Corporation, i486 Microprocessor Hardware Reference Manual, 1990. ISBN 1-55512-112-8.
Intel Corporation, Pentium Processor User's Manual - Volume 3: Architecture and Programming Manual, 1993. ISBN 1-55512-195-0.