cisc an risc Flashcards
reduced instruction set
In these processors, there is a small instruction set. Each instruction is approximately one line of machine code and takes one clock cycle. Below is an example of multiplying two numbers X and Y
complex instruction set
In these processors there is a large instruction set. The aim is to try and accomplish tasks in as few lines of assembly code as possible. These instructions are built into the hardware.
cisc processor
The compiler has less work to translate
high level code into machine code.
Less RAM is required since code is
shorter
Many specialised instructions are made,
even though only a few of them are used.
risc processor
The compiler has to do more work to
translate high level code into machine
code.
More RAM is required to store the code.
Pipelining is possible since each instruction
takes one clock cycle.
cisc advantage
one advantage of cisc is that the compiler has very little to do to translate a high level language statement into machine code.Because the code is relatively short ,very little ram is required to store instructions
cisc disadvantage
a disadvantage of cisc was that many specialised instructions had to be built into the hardware even though only about 20% of them were used in the average program
risc disadvantage
the risc strategy has the disadvantage that the compiler has to do more work to translate high level code into machine code,and more ram is required to store the machine code instructions.