hardware considerations (2)

hardware considerations (2) - COP 4600 Summer 2011...

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

View Full Document Right Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 1 © Dr. Mark Llewellyn COP 4600 – Summer 2011 Introduction To Operating Systems Hardware Considerations For OS Department of Electrical Engineering and Computer Science Computer Science Division University of Central Florida Instructor : Dr. Mark Llewellyn markl@cs.ucf.edu HEC 236, 407-823-2790 http://www.cs.ucf.edu/courses/cop4600/sum2011
Background image of page 1

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

View Full DocumentRight Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 2 © Dr. Mark Llewellyn Top-Level Computer Components
Background image of page 2
COP 4600: Intro To OS (Hardware Considerations) Page 3 © Dr. Mark Llewellyn Processor Registers User-visible registers Enable programmer to minimize main-memory references by optimizing register use Control and status registers Used by processor to control operating of the processor Used by privileged operating-system routines to control the execution of programs
Background image of page 3

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

View Full DocumentRight Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 4 © Dr. Mark Llewellyn User-Visible Registers May be referenced by machine language Available to all programs - application programs and system programs Types of registers Data Address Index Segment pointer Stack pointer
Background image of page 4
COP 4600: Intro To OS (Hardware Considerations) Page 5 © Dr. Mark Llewellyn User-Visible Registers Address Registers Index Involves adding an index to a base value to get an address Segment pointer When memory is divided into segments, memory is referenced by a segment and an offset Stack pointer Points to top of stack
Background image of page 5

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

View Full DocumentRight Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 6 © Dr. Mark Llewellyn Control and Status Registers Program Counter (PC) Contains the address of an instruction to be fetched Instruction Register (IR) Contains the instruction most recently fetched Program Status Word (PSW) Condition codes Interrupt enable/disable Supervisor/user mode
Background image of page 6
COP 4600: Intro To OS (Hardware Considerations) Page 7 © Dr. Mark Llewellyn Control and Status Registers Condition Codes or Flags Bits set by the processor hardware as a result of operations Examples Positive result Negative result Zero Overflow
Background image of page 7

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

View Full DocumentRight Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 8 © Dr. Mark Llewellyn Instruction Execution Processor reads instructions from memory Fetches into the MBR (MDR) Processor executes each instruction
Background image of page 8
COP 4600: Intro To OS (Hardware Considerations) Page 9 © Dr. Mark Llewellyn Instruction Cycle
Background image of page 9

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

View Full DocumentRight Arrow Icon
COP 4600: Intro To OS (Hardware Considerations) Page 10 © Dr. Mark Llewellyn Instruction Fetch and Execute The processor fetches the instruction from memory Program counter (PC) holds address of the instruction to be fetched next Program counter is incremented after each fetch
Background image of page 10
COP 4600: Intro To OS (Hardware Considerations) Page 11 © Dr. Mark Llewellyn Instruction Register Fetched instruction is placed in the instruction register Categories
Background image of page 11

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

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

This note was uploaded on 10/03/2011 for the course COP 4600 taught by Professor Montagne during the Summer '08 term at University of Central Florida.

Page1 / 49

hardware considerations (2) - COP 4600 Summer 2011...

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

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