Difference Between RISC and CISC Architecture
Difference Between RISC and CISC Architecture
Difference Between RISC and CISC Architecture
(http://www.rmcodes.com/feed/rss/) (https://www.facebook.com/rmcodes)
(http://www.rmcodes.com)
FIRMWARE DEVELOPER
(http://www.rmcodes.com)
Embedded Systems
43
HOME MICROCONTROLLERS C/C++ CODES LINUX PROJECTS ARTICLES CONTACT US
(http://www.rmcodes.com/wp-content/uploads/2014/08/LQFP-48.jpg)
____________________________________________________________________________________________________
What is ISA ?
Instruction set architecture(ISA) is the set of processor design techniques used to implement the instruction work ow on hardware. In more
practical words, ISA tells you that how your processor going to process your program instructions.
http://www.firmcodes.com/differenceriscsicsarchitecture/ 1/4
06/03/2017 DifferencebetweenRISCandCISCarchitecture
43
There is no standard computer architecture accepting different types like CISC, RISC, etc.
what is CISC ?
A complex instruction set computer (CISC /pronounce as sisk/) is a computer where single instructions can execute several low-level operations
(such as a load from memory, an arithmetic operation, and a memory store) or are capable of multi-step operations or addressing modes within
single instructions, as its name suggest COMPLEX INSTRUCTION SET.
What is RISC ?
A reduced instruction set computer (RISC /pronounce as risk/) is a computer which only use simple instructions that can be divide into multiple
instructions which perform low-level operation within single clock cycle, as its name suggest REDUCED INSTRUCTION SET
A = A * B; <<<======this is C statement
The CISC Approach :- The primary goal of CISC architecture is to complete a task in as few lines of assembly as possible. This is achieved by
building processor hardware that is capable of understanding & executing a series of operations, this is where our CISC architecture introduced .
For this particular task, a CISC processor would come prepared with a specic instruction (well call it MULT). When executed, this
instruction
Thus, the entire task of multiplying two numbers can be completed with one instruction:
MULT is what is known as a complex instruction. It operates directly on the computers memory banks and does not require the
programmer to explicitly call any loading or storing functions.
Advantage:-
1. Compiler has to do very little work to translate a high-level language statement into assembly
2. Length of the code is relatively short
3. Very little RAM is required to store instructions
http://www.firmcodes.com/differenceriscsicsarchitecture/ 2/4
06/03/2017 DifferencebetweenRISCandCISCarchitecture
4. The emphasis is put on building complex instructions directly into the hardware.
The RISC Approach :- RISC processors only use simple instructions that can be executed within one clock cycle. Thus, the MULT command
described above could be divided into three separate commands:
In order to perform the exact series of steps described in the CISC approach, a programmer would need to code four lines of
assembly:
43
LOAD R2,B<<<======this is assembly statement
At rst, this may seem like a much less efcient way of completing the operation. Because there are more lines of code, more RAM is
needed to store the assembly level instructions. The compiler must also perform more work to convert a high-level language statement into code of
this form.
Advantage:-
1. Each instruction requires only one clock cycle to execute, the entire program will execute in approximately the same amount of time as the multi-
cycle MULT command.
2. These RISC reduced instructions require less transistors of hardware space than the complex instructions, leaving more room for general
purpose registers. Because all of the instructions execute in a uniform amount of time (i.e. one clock)
3. Pipelining is possible.
LOAD/STORE mechanism:- Separating the LOAD and STORE instructions actually reduces the amount of work that the computer must perform.
After a CISC-style MULT command is executed, the processor automatically erases the registers. If one of the operands needs to be used for
another computation, the processor must re-load the data from the memory bank into a register. In RISC, the operand will remain in the register until
another value is loaded in its place.
CISC RISC
Emphasisonhardware Emphasisonsoftware
Includesmulticlock Singleclock
complexinstructions reducedinstructiononly
Memorytomemory:LOADandSTOREincorporatedininstructions Registertoregister:LOADandSTOREareindependentinstructions
highcyclespersecond,Smallcodesizes Lowcyclespersecond,largecodesizes
Transistorsusedforstoringcomplexinstructions Spendsmoretransistorsonmemoryregisters
Examples of CISC instruction set architectures are PDP-11, VAX, Motorola 68k, and your desktop PCs on intels x86 architecture
based too .
Examples of RISC families include DEC Alpha, AMD 29k, ARC, Atmel AVR, Blackn, Intel i860 and i960, MIPS, Motorola 88000, PA-
RISC, Power (including PowerPC), SuperH, SPARC and ARM too.
http://www.firmcodes.com/differenceriscsicsarchitecture/ 3/4
06/03/2017 DifferencebetweenRISCandCISCarchitecture
We can not differentiate RISC and CISC technology because both are suitable at its specic application. What counts is how fast a chip can execute
the instructions it is given and how well it runs existing software. Today, both RISC and CISC manufacturers are doing everything to get an edge on
the competition.
Whats new ?
You might thinking that RISC is nowdays used in microcontroller application widely so its better for that particular application and CISC at desktop
application. But reality is boh are at threat position cause of a new technology called EPIC.
EPIC ( Explicitly Parallel Instruction Computing ) :-EPIC is a invented by Intel and is in a way, a combination of both CISC and RISC. This will in
theory allow the processing of Windows-based as well as UNIX-based applications by the same CPU.
Intel is working on it under code-name Merced. Microsoft is already developing their Win64 standard for it. Like the name says,
43 Merced will be a 64-bit chip.
6
If Intels EPIC architecture is successful, it might be the biggest thread for RISC. All of the big CPU manufactures but Sun and Motorola
are now selling x86-based products, and some are just waiting for Merced to come out (HP, SGI). Because of the x86 market it is not likely that CISC
So the future might bring EPIC processors and more CISC processors, while the RISC processors are becoming extinct.
Suggested Reading
1. How To Select Right Microcontroller For Project (http://www.rmcodes.com/select-right-micrcontroller-project/)
2. Difference between ARM and other Microcontrollers (http://www.rmcodes.com/difference-arm-microcontrollers/)
3. Arduino Vs Raspberry Pi (http://www.rmcodes.com/arduino-vs-raspberry-pi/)
If you like this Article, then dont forget to Click on Social likes
buttons.
43 6 5
LiveTrafficFeed
AvisitorfromGhanaviewed"Difference
betweenRISCandCISCarchitecture"10mins
ago
AvisitorfromCollegeStation,Texasviewed
"DifferencebetweenRISCandCISC
architecture"11minsago
AvisitorfromOsasco,SaoPauloviewed
"Firmcodes"13minsago
AvisitorfromHoChiMinhCity,HoChiMinh
viewed"Writeaprogramtoreversealinkedlist
usingstackinc++"16minsago
AvisitorfromRichmond,Virginiaviewed
"DifferencebetweenRISCandCISC
architecture"23minsago
AvisitorfromPooleviewed"Difference
betweenRISCandCISCarchitecture"32mins
ago
AvisitorfromPhilippinesviewed"Howto
connectandroidphonetoPCusingSSH&
putty"42minsago
RealtimeviewGetFeedjit
http://www.firmcodes.com/differenceriscsicsarchitecture/ 4/4