Basic I/O in microprocessor system design