[go: up one dir, main page]

0% found this document useful (0 votes)
12 views2 pages

Quick Revision Notes IO Subsystems

Uploaded by

Niraj Ranjan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Quick Revision Notes IO Subsystems

Uploaded by

Niraj Ranjan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Quick Revision Notes: Computer Organization & Architecture

Peripheral Devices and Their Characteristics

- Devices connected externally to a computer (e.g., keyboard, mouse, printer).

- Classified as input, output, or storage devices.

- Characteristics:

- Speed: Can be slower than CPU.

- Communication: Through I/O controllers.

- Buffering: Temporary data holding.

- Data Transfer: Can be synchronous or asynchronous.

Input-Output Subsystems

- I/O subsystem includes all hardware and software for communication with peripherals.

- Components:

- I/O devices

- Device controllers

- I/O buses

- I/O modules

I/O Device Interface

- Interface between I/O device and computer.

- Includes status registers, data registers, control logic.

- Manages device communication and data transfer.

I/O Transfers - Program Controlled, Interrupt Driven, and DMA

- Program Controlled:

- CPU polls device status.

- Interrupt Driven:

- Device signals CPU via interrupts.

- DMA (Direct Memory Access):

- Data transferred directly between memory and device, CPU is bypassed.


Quick Revision Notes: Computer Organization & Architecture

Privileged and Non-Privileged Instructions

- Privileged:

- Only OS can execute (e.g., I/O control).

- Non-Privileged:

- User-level instructions (e.g., arithmetic).

Software Interrupts and Exceptions

- Software Interrupt:

- Triggered by a program.

- Exception:

- Event disrupting normal instruction flow (e.g., divide by zero).

Programs and Processes - Role of Interrupts in Process State Transitions

- Process States: New, Ready, Running, Waiting, Terminated.

- Interrupts cause transitions (e.g., Running -> Waiting).

I/O Device Interfaces - SCSI, USB

- SCSI (Small Computer System Interface):

- High-speed data transfer interface.

- USB (Universal Serial Bus):

- Plug-and-play interface for various devices.

- Supports hot swapping and power supply.

You might also like