1. A system for controlling operating sequences, in particular in a motor vehicle, the system containing program modules for controlling the operating sequences, wherein the program modules themselves and/or the program modules in their totality are divided into a hardware-dependent portion and a hardware-independent portion, so that the hardware-dependent portion and the hardware-independent portion exchange physical variables.