A microprocessor executive for real-time process control