ITE 272 Introduction to ITE Part II - PowerPoint PPT Presentation

1 / 41
About This Presentation
Title:

ITE 272 Introduction to ITE Part II

Description:

CPU Operation. University of South Alabama - CIS. ITE 272. 2. Two groups of actions ... Instruction with an Op Code and two Operands. MOVE. Copy data bits to ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 42
Provided by: Ange346
Category:

less

Transcript and Presenter's Notes

Title: ITE 272 Introduction to ITE Part II


1
ITE 272 Introduction to ITEPart II
  • Chapter 4
  • Processor Technology and Architecture

2
CPU Operation
3
CPU Operation
  • Two groups of actions
  • Fetch Cycle (Instruction Cycle)
  • Data inputs are prepared for transportation into
    data groups
  • Execution Cycle
  • The transformation takes place and data output is
    stored

4
Fetch/Execute Cycle
5
Instructions and Instruction Sets
  • Instructions
  • Command to the CPU to perform one of its
    primitive processing functions.
  • Op Code
  • The unique binary number of the instruction.
  • Operand
  • Groups of bits that hold the input values for the
    instruction

6
Instructions and Instruction Sets
Instruction with an Op Code and two Operands
7
Data Movement
  • MOVE
  • Copy data bits to storage locations
  • LOAD
  • Data transfer from main memory to register
  • STORE
  • Data transfer from register into primary storage

8
Primitive Data Transformation Instructions
9
Instructions and Instruction Sets
  • The NOT instruction transforms the Boolean value
    true into false and the value false into true.
  • NOT 0 1
  • NOT 1 0

10
Instructions and Instruction Sets
  • The AND instruction generates the result true if
    both of its data inputs are true.
  • 0 AND 0 0
  • 1 AND 0 0
  • 0 AND 1 0
  • 1 AND 1 1

11
Instructions and Instruction Sets
  • The Inclusive OR instruction generates the value
    true if either or both data inputs are true.
  • 0 OR 0 0
  • 1 OR 0 1
  • 0 OR 1 1
  • 1 OR 1 1

12
Instructions and Instruction Sets
  • The Exclusive OR Instruction (XOR) generates the
    value true if either, but not both, data inputs
    are true.
  • 0 XOR 0 0
  • 1 XOR 0 1
  • 0 XOR 1 1
  • 1 XOR 1 0

13
Instructions and Instruction Sets
  • The ADD instruction accepts two numeric inputs
    and produces their arithmetic sum.
  • 0 0 0
  • 1 0 1
  • 0 1 1
  • 1 1 10

14
Instructions and Instruction Sets
  • The SHIFT instruction moves bit strings to the
    left or the right.

15
Instructions and Instruction Sets
  • The Logical SHIFT instruction is typically used
    to extract a single bit from a bit string.

16
Instructions and Instruction Sets
  • Arithmetic SHIFT
  • Instruction performs multiplication or division.
  • Multiplication
  • Shifting one bit to the left, multiplies the
    value by 2.
  • Division
  • Shifting one bit to the right, divides the value
    by 2.

17
Instructions and Instruction Sets
18
Instructions and Instruction Sets
  • Sequence Control Instructions
  • Unconditional BRANCH
  • Causes the processor to always depart from the
    normal sequence.
  • Conditional BRANCH
  • Occurs only if a specified condition is met.
  • HALT
  • Suspends the normal flow of instruction
    execution.

19
Instruction Format
An instruction format is a template that
specifies the number of operands and the position
and length of the op code and operands.
20
Instruction Format
  • Fixed instruction length
  • Simplify the instruction-fetching processes
    implemented with the control unit.
  • Variable instruction length
  • The amount by which the instruction pointer is
    incremented after the fetch is the length of the
    most recently fetched instruction

21
Processor Classifications
  • Reduced Instruction Set Computing (RISC)
  • Absence of some complex instructions
  • Avoid combined data transformation and data
    movement operations
  • Fixed length instructions, short instruction
    length, and large number of general-purpose
    registers

22
Processor Classifications
  • Complex Instruction Set Computing (CISC)
  • Developed because of limited memory and
    processing power of early computers
  • Goal more work per instruction
  • Result less memory required complex operations
    execute more quickly
  • Subject to diminishing returns

23
Processor Classifications
  • CISC (Complex Instruction Set Computing)
  • 28 system instructions
  • 92 floating point instructions
  • 52 MMX instructions
  • 61 streaming media instructions
  • 164 integer, logical and other instructions
  • Total of 397 instructions

24
Processor Classifications
  • RISC (Reduced Instruction Set Computing)
  • About 24 registers
  • Op-code is always in same bit location / one word
    size
  • More registers

25
Clock Rate
  • Clock Rate
  • The frequency at which the system clock generates
    timing pulses.
  • The rate are measured in hertz (Hz) one cycle
    per second.

26
Cycle Time
  • Cycle time
  • Time to fetch and execute the simplest
    instruction.
  • Usually NOT
  • Inverse of the clock rate
  • 3.00 Ghz machine would have a cycle time of about
    .0000000003 s or .3 nanoseconds

27
MHz Myth
  • Mhz does not equal performance
  • Many variables involved
  • Need method to compare systems
  • MIPS (millions of instructions per second) for
    integers
  • MFLOPS (millions of floating point operations per
    second)

28
CPU Registers
  • General-purpose
  • Used to hold intermediate results or frequently
    used values in the currently executing programs.
  • Special-purpose
  • Instruction register
  • Instruction pointer
  • Program status word

29
Word Size
  • Word
  • Unit of data that contains a fixed number of
    bytes or bits. The amount of data that a CPU
    processes at one time.
  • Relationship between word size and CPU
    performance.

30
Physical CPU
  • Switches and Gates
  • The basic building blocks of computer processing
    circuits are electrical gates.
  • Basic processing functions on binary digits are
    performed with the logical functions (AND, OR,
    XOR, and NOT)

31
Physical CPU
NOT
AND
OR
XOR
32
Physical CPU
  • More complex processing functions require more
    complicated arrangements of gates.
  • A full-adder and half-address can be formed using
    the basic gates.

33
Physical CPU
Half Adder
Full Adder
34
Physical CPU
  • Heat
  • The negative effects of heat on electrical
    conductivity are damage to the conductor and
    changes in the inherent resistance of the
    conductor.
  • Heat Sink
  • An object specifically designed to absorb heat
    and rapidly dissipate it using air or water
    movement.

35
Physical CPU
Heat Sink
36
Processor Fabrication
  • Transistors and Integrated Circuits
  • Transistors are made of semiconductor material
    that has been treated with chemical impurities to
    enhance the semiconducting effects.
  • Integrated Circuit
  • Implements several transistors and their
    interconnections on a single chip.

37
Physical CPU
  • Microchips and Microprocessors
  • A microprocessor is a microchip that contains all
    of the circuits and connections that implement a
    CPU.

38
Physical CPU
Memory chip containing 330 million transistors
39
Physical CPU
  • Moores Law
  • Observed that the rate of increase in transistor
    density on microchips had increased steadily,
    roughly doubling every 18 to 24 months.

40
Physical CPU
41
The End
Write a Comment
User Comments (0)
About PowerShow.com