15 - hardware Flashcards
CISC processors
Complex Instruction set computer
- uses more internal instruction formats
- carries out a task with as few lines of assembly code as possible
- hardware must therefore be able to handle complex instructions
- complex instructions are converted by the process into sub instructions to carry out the operation
2 types of processors
RISC
CISC
RISC processors
Reduced Instruction Set Computer
- fewer built in instruction formats
- uses less complex instructions - break up the code into a number of siimple single cylce instructions
- smaller, but more optimised instructions
CISC features
- many instruction formats
- more addressing modes
- multi cycle instructions
- variable length instructions
- longer execution time
- more complex decoding
- hard to pipeline
- emphasis on hardware
- ## uses memory unit to allow complex instructions to be carries out
RISC features
- less instruction formats/ sets
- fewer addressing modes
- single cycle instructions
- fixed length instructions
- faster execution time
- uses general multi- purpose registers
- easier to pipeline
- emphasis on software
- processor chips require fewer transistors
pipelining
allows several instructions to be processed simultaneously without waiting for the previous instructions to be complete
- once program A has finished the first step of execution it moves to second step while B starts step 1 etc
- needs several regsters to store each stage
how is execution of an instruction split
- instruction fetch cycle
- instruction decode cycle
- operand fetch cycle
- instruction execution cycle
- writeback result process
interrupts
- once th eprocessor detects it
- the program is stopped if higher priority
interrupts with pipelining