Lecture 3 - INFO2603
Lecture 3 - INFO2603
INFO 2603
Platform Technologies
Week 2
1
Instruction Cycle
Stallings, W. 2006. Computer Organisation and Architecture, Designing for Performance. 7th ed. Pearson
Interrupts
Most external devices are much slower than the processor which
may have to pause and remain idle while waiting for such
devices to “catch up”.
Stallings, W. 2006. Computer Organisation and Architecture, Designing for Performance. 7th ed. Pearson
Instruction Cycle with Interrupts
• The processor proceeds to the fetch cycle and fetches the the
first instruction in the interrupt handler program. The interrupt
handler program is part of the OS.
Pipelining
The pipeline has two independent stages. The first stage fetches
an instruction and buffers it. When the second stage is free , the
first stage passes it the buffered instruction.
Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639
I/O Resource Management
The operating system is responsible for:
(a) (b)
Figure 4. (a) The steps in starting an I/O device and getting an interrupt.
Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved. 0-13-6006639
Programmed I/O
Data is exchanged between the processor and the I/O Module.
The processor executes a program that gives it direct control of
the I/O operation, including sensing device status, sending a
read or write command, and transferring data.
No guarantees regarding
Motivation:
• Improve performance
RISC Architecture
Characteristics:
• Register-to-register operations
• Based on the Intel 8086 CPU and its Intel 8088 variant.
• Based on RISC architecture typically require fewer transistors than those with a
complex instruction set computing (CISC) architecture (such as the x86 processors).
• Improves cost, power consumption, and heat dissipation. These characteristics are
desirable for light, portable, battery-powered devices.
• With over 100 billion ARM processors produced as of 2017, ARM is the most widely
used instruction set architecture in terms of quantity produced.
• ARMv8-A architecture adds support for a 64-bit address space and 64-bit arithmetic
with its new instruction set.