0% found this document useful (0 votes)
17 views

CISC and RISC

Cisc vs risc

Uploaded by

Bharath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

CISC and RISC

Cisc vs risc

Uploaded by

Bharath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

CISC and RISC

Processor
Session Objectives

 To learn about CSIC and RISC Processor.


Session Outcomes

 At the end of the session, students will be able to

 Understand the RISC and CSIC Processor


Outline

 To discuss
 CISC and RISC
RISC Processor
•RISC stands for Reduced Instruction Set Computer
Processor, a microprocessor architecture with a simple
collection and highly customized set of instructions.
•It is built to minimize the instruction execution time by
optimizing and limiting the number of instructions.
•It means each instruction cycle requires only one clock cycle,
and each cycle contains three parameters: fetch, decode and
execute
• The RISC processor is also used to perform various complex
instructions by combining them into simpler ones. RISC chips
require several transistors, making it cheaper to design and
reduce the execution time for instruction.
•Examples of RISC processors are SUN's SPARC, PowerPC,
Microchip PIC processors, RISC-V.
Advantages of RISC
Processor
 The RISC processor's performance is better due to the
simple and limited number of the instruction set.
 It requires several transistors that make it cheaper to
design.
 RISC allows the instruction to use free space on a
microprocessor because of its simplicity.
 RISC processor is simpler than a CISC processor because
of its simple and quick design, and it can complete its
work in one clock cycle.
Disadvantages of RISC
Processor
 The RISC processor's performance may vary
according to the code executed because
subsequent instructions may depend on the
previous instruction for their execution in a cycle.
 Programmers and compilers often use complex
instructions.
 RISC processors require very fast memory to
save various instructions that require a large
collection of cache memory to respond to the
instruction in a short time.
RISC Architecture
Features of RISC
 One cycle execution time: For executing each instruction in a
Processor
computer, the RISC processors require one CPI (Clock per cycle).
And each CPI includes the fetch, decode and execute method
applied in computer instruction.
 Pipelining technique: The pipelining technique is used in the RISC
processors to execute multiple parts or stages of instructions to
perform more efficiently.
 A large number of registers: RISC processors are optimized with
multiple registers that can be used to store instruction and quickly
respond to the computer and minimize interaction with computer
memory.
 It supports a simple addressing mode and fixed length of instruction
for executing the pipeline.
 It uses LOAD and STORE instruction to access the memory
location.
 Simple and limited instruction reduces the execution time of a
process in a RISC.
CISC Processor

 The CISC Stands for Complex Instruction Set Computer, developed


by the Intel. It has a large collection of complex instructions that range
from simple to very complex and specialized in the assembly language
level, which takes a long time to execute the instructions.
 So, CISC approaches reducing the number of instruction on each
program and ignoring the number of cycles per instruction.
 It emphasizes to build complex instructions directly in the hardware
because the hardware is always faster than software. However, CISC
chips are relatively slower as compared to RISC chips but use little
instruction than RISC.
 Examples of CISC processors are VAX, AMD, Intel x86 and the
System/360.
Characteristics of CISC
Processor
 The length of the code is short, so it requires very little
RAM.
 CISC or complex instructions may take longer than a
single clock cycle to execute the code.
 Less instruction is needed to write an application.
 It provides easier programming in assembly language.
 Support for complex data structure and easy
compilation of high-level languages.
 It is composed of fewer registers and more addressing
nodes, typically 5 to 20.
 Instructions can be larger than a single word.
 It emphasizes the building of instruction on hardware
because it is faster to create than the software.
CISC Processors
Architecture
Advantages of CISC
 The Processors
compiler requires little effort to translatehigh-level
programs or statement languages into assembly or
machine language in CISC processors.
 The code length is quite short, which minimizes the memory
requirement.
 To store the instructions on each CISC, requires very little
RAM.
 Execution of a single instruction requires several low-level
tasks.
 CISC creates a process to manage power usage that
adjusts clock speed and voltage.
 It uses fewer instructions set to perform the same
instruction as the RISC.
Disadvantages of CISC
Processors
 CISC chips are slower than RSIC chips to execute
per instruction cycle on each program.
 The performance of the machine decreases due to
the slowness of the clock speed.
 Executing the pipeline in the CISC processor
makes it complicated to use.
 The CISC chips require more transistors as
compared to RISC design.
 In CISC it uses only 20% of existing instructions in
a programming event.
RISC CISC
It is a Reduced Instruction Set It is a Complex Instruction Set
Computer. Computer.

It emphasizes on software to optimize It emphasizes on hardware to optimize


the instruction set. the instruction set.

It is a hard wired unit of programming Microprogramming unit in CISC


in the RISC Processor. Processor.

It requires multiple register sets to It requires a single register set to store


store the instruction. the instruction.

RISC has simple decoding of CISC has complex decoding of


instruction. instruction.
Uses of the pipeline are simple in Uses of the pipeline are difficult in
RISC. CISC.

It uses a limited number of It uses a large number of instruction


instruction that requires less time to that requires more time to execute
execute the instructions. the instructions.

It uses LOAD and STORE that are It uses LOAD and STORE instruction
independent instructions in the in the memory-to-memory
register-to-register a program's interaction of a program.
interaction.

RISC has more transistors on CISC has transistors to store complex


memory registers. instructions.
The execution time of RISC is very short. The execution time of CISC is longer.

RISC architecture can be used with high-end CISC architecture can be used with low-end
applications like telecommunication, image applications like home automation, security
processing, video processing, etc. system, etc.

It has fixed format instruction. It has variable format instruction.

The program written for RISC architecture needs Program written for CISC architecture tends to
to take more space in memory. take less space in memory.

Example of RISC: ARM, PA-RISC, Power Examples of CISC: VAX, Motorola 68000 family,
Architecture, Alpha, AVR, ARC and the SPARC. System/360, AMD and the Intel x86 CPUs.
References

Carl Hamacher, Zvonko Vranesic, Safwat Zaky and Naraig


Manjikian, Computer Organization and Embedded Systems, Tata
McGraw Hill, Sixth Edition, 2012.

You might also like