Unit 3 Part 1
Unit 3 Part 1
Organization of the
control unit to allow
conditional branching
in the microprogram.
Microinstructions
• A straightforward way to structure
microinstructions is to assign one bit position
to each control signal.
• However, this is very inefficient.
• The length can be reduced: most signals are
not needed simultaneously, and many signals
are mutually exclusive.
• All mutually exclusive signals are placed in the
same group in binary coding.
Overview
• processing unit, which executes machine
instructions and coordinates the activities of other
units.
• This unit is often called the Instruction Set
Processor (ISP), or simply the processor.
• We examine its internal structure and how it
performs the tasks of fetching, decoding, and
executing instructions of a program.
• The processing unit used to be called the central
processing unit (CPU).
Some Fundamental Concepts
• Fundamental Concepts
• Processor fetches one instruction at a time and
perform the operation specified.
• Instructions are fetched from successive memory
locations until a branch or a jump instruction is
encountered.
• Processor keeps track of the address of the memory
location containing the next instruction to be
fetched using Program Counter (PC).
• Instruction Register (IR)
Hardware for Multiplication
Hardware implementation of Unsigned
Binary Numbers
Multiplying Signed Numbers
Booth’s Algorithm for Two’s Complement
Multiplication
Example for Booth’s Algorithm
Booth’s Algorithm
Binary Division for Unsigned Numbers
Consider the following: Dividend = 15 (place in Q) and Divisor = 8 (place in M)
Count n = 4
Hardware for Division
Non Restoring Method
Example Non Restoring Method
Non Restoring Binary Division