1.2 Flashcards
What is an instruction set
A group of commands for a CPU in machine language.
What does CISC stand for
Complex instruction set
What is CISC
Use a full instruction set on the CPU, any instruction they need to be converted to machine code will be there.
Fewer registers
What does RISC stand for
Reduced instruction set
What is RISC
Small instruction set with only the most frequently used instructions are available
Adv of RISC
Less heat
Lower cost
Physically smaller
Lower power consumption
Pipelining works better as independent instructions can be carried out at the same time
Each instruction only needs one clock cycle
Simpler hardware
Disadv of RISC
More instructions to be carried out for one process
Runs at a lower clock speed
More programming code is needed
Compiler needs to do more work to translate from high level code to machine language
What uses CISC
Desktop computers
Laptop computers
What uses RISC
Smartphone
Tablets
Adv of CISC
More intensive tasks will do better with CISC
Less programming code
Compiler has to do little work to translate from high level code to machine language
Issues with CISC
Only 20% of instructions will be used, they all still need to be stored
Transistors use power and generate heat in turn, this needs additional cooling, this also takes up more space
A complex instruction takes more clock cycles to complete, this takes more time to process
Complex hardware making it more expensive than RISC
Cant support pipelining
What are the 4 segments the OS divides the RAM into
Stack segment, free memory, data segment, code segment
What does the stack segment store
Functions stored, changes size frequently, the stack segment can grow into free memory
What does the data segment store
Stores all variables used
What does the code segment store
Application code