Computer Organization & Embedded System — Input-Output Organization and Multiprocessor, NEC licence examination syllabus (Nepal Engineering Council).
Every keystroke, click, and printed page goes through the same basic idea.
Right now, as you scroll this page, you're using at least two peripherals without thinking about it — a screen (output) and a touchscreen/mouse (input). Peripherals split into three families.
InputKeyboard, mouse, scanner — send data INTO the CPU.
OutputMonitor, printer, speaker — send data OUT of the CPU.
StorageDisk, tape — data flows both directions.
Each character exchanged is usually coded in ASCII (7 or 8 bits per character).
The core problem peripherals create: they're all wildly different speeds. A keyboard produces a few bytes per second; a disk can move megabytes per second. The I/O subsystem exists to bridge that speed mismatch without wasting CPU time.The chapter names the mismatch. Its scale is what makes every later design decision inevitable — take a 1 GHz processor, executing roughly one instruction per nanosecond:
At the fast end the problem inverts. A disk delivering a byte every ten instructions cannot be handled by interrupting the CPU per byte — the interrupt overhead alone would exceed the work.
So fast devices need the CPU taken out of the transfer path entirely, which is what direct memory access does. Slow devices need the CPU not to wait; fast devices need it not to participate. Two opposite problems, from the same table.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…