100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

CNIT 176 Exam Study Guide | Latest and Verified

Puntuación
-
Vendido
-
Páginas
44
Grado
A+
Subido en
07-03-2025
Escrito en
2024/2025

CNIT 176 Exam Study Guide | Latest and Verified

Institución
CNIT 176
Grado
CNIT 176











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
CNIT 176
Grado
CNIT 176

Información del documento

Subido en
7 de marzo de 2025
Número de páginas
44
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CNIT 176 Exam Study Guide | Latest and Verified
Direct Memory Access - Required conditions

-The I/O interface and memory must be connected
-The I/O controller must be capable of reading and writing to memory
-Conflicts between the CPu and the I/O controller must be avoided
-Interrupt required for completion

Basic Model of I/O

Processing speed or program execution
-Determined primarily by ability of I/O operations to stay ahead of processor
-Input --> Processor --> Output

I/O Requirements

1. Means for addressing different peripheral devices
2. A way for peripheral devices to initiate communication
with the CPU
3. An efficient means of transferring data directly between
I/O and memory for large data transfers since programmed I/O is suitable only for slow devices
and individual word transfers
4. Buses that interconnect high-speed I/O devices with the computer must support high data
transfer rates
5. Capability of handling devices operating at varying speeds with varying delays
6. Means for handling devices with extremely different control requirements

Peripherals

External devices what you connect to a computer (other than CPU, Power, memory)

Simple I/O configuration

CPU -> I/O Controller -> I/O device

,Northbridge

special chip to handle communication between CPU, GPU, and RAM

Southbridge

Special chip to handle communication between northbridge and interfaces such as the USB and
SATA (harddrive) interfaces

More Complex I/O Module, Intel Xeon

Separate IO controller chipes might have been present for Ethernet, Audio, if not part of
Southbridge

In the Intel Core Series

Northbridge is now a part of the CPU

Advanced I/O techniques - Programmed I/O

-CPU controlled I/O and CPU initiated
-I/O data and address registers in CPU
-one word transfer per I/O instruction
-Address information for each I/O device
-Full instruction fetch/execute cycle
--Used or keyboard and other communication with I/O controllers

Advanced I/O techniques - Interrupt Driven I/O

-External input controls
-CPU adopts whatever it wants
-Not CPU initiated

Advanced I/O techniques - Direct Memory Access Controllers

Method for transferring data between main memory and a device that bypasses the CPU

Programmed I/O example

,see docs

Accumulator

where the CPU does its scratch work, in the ALU

Interrupts in the CPU

-Signal that causes the CPU to alter its normal flow of instruction execution
-Frees CPU from waiting for events
-Provides control for external I/O initiation

Interrupts in the CPU - examples

-Unexpected input
-Abnormal situation
-Illegal situations
-Multitasking, multiprocessing

Interrupt Teminology - Interrupt lines

Hardware on one mor more special control lines to the CPU

Interrupt Terminology - Interrupt request

see docs

Interrupt Terminology - Interrupt handlers

-Program that services the interrupt
-Also known as an interrupt routine or device driver

Interrupt Terminology - Context

-Saved registers of a program before control is transferred to the interrupt handler
-Allows program to resume exactly where it left over when control returns to interrupted
program

Use of Interrupts

, Notify that an external event has occurred
- Real or time sensitive


Signal Completion
-Printer ready or buffer full


Allocate CPU time
-Time sharing


Indicate abnormal event(aCPU originates for notification and recovery)
-Illegal operation, hardware error


Software Interrupts

Servicing the interrupt

Lower priority interrupts are held until higher priority interrupts are complete --> Suspend
program in progress --> Save context, including last instruction executed and data values in
registers, in the PCB or the stack area in memory --> Branch to interrupt handler program

Servicing the interrupt - Steps

1. Before interrupt arrives, program A is executing. The program counter points to the current
instruction


2. When the interrupt is received by the CPU, the current instruction is completed, all the
registers are saved in the stack area ( or in special area known as a process control block). The
PC is loaded with the starting location of program B, the interrupt handler program. This causes
a jump to program B, which becomes the executing program


3. When the interrupt routine is complete, the register are restored, including the program
counter, and the original program resumes exactly where it left off.
$12.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
KenAli West Virginia University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
84
Miembro desde
1 año
Número de seguidores
5
Documentos
17177
Última venta
20 horas hace

2.9

19 reseñas

5
4
4
4
3
4
2
0
1
7

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes