Ch8 - Ramesh Yerraballi 8-1 EE 306 Introduction to...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ramesh Yerraballi 8-1 EE 306 Introduction to Computing Chapter 8: I/O (Input/Output) Ramesh Yerraballi 8-2 I/O Basics Definitions Input transfer data from the outside world to the computer: keyboard, mouse, scanner, bar-code reader, etc. Output transfer data from the computer to the outside: monitor, printer, LED display, etc. Peripheral: any I/O device, including disks. LC-3 supports a keyboard and a monitor Ramesh Yerraballi 8-3 Device Registers I/O Interface Through a set of Device Registers: Status register (device is busy/idle/error) Data register (data to be moved to/from device) The device registers can be read/written by the CPU LC-3 KBDR: keyboard data register KBSR: keyboard status register DDR: Display data register DSR: Display status register KBSR[15] - keyboard ready (new character available) KBDR[7:0] - character typed (ASCII) DSR[15] - CRT Display ready DDR[7:0] - character to be displayed (ASCII) KBSR KBDR DSR DDR LC-3 Ramesh Yerraballi 8-4 Addressing Device Registers...
View Full Document

This note was uploaded on 03/28/2010 for the course EE 306 taught by Professor Ambler during the Spring '07 term at University of Texas at Austin.

Page1 / 10

Ch8 - Ramesh Yerraballi 8-1 EE 306 Introduction to...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online