2: CPU Flashcards
5 tasks by processor
- Fetch instruction - read from memory
- Integrate instruction - decode to determine action
- Fetch data
- process data
- Write data - to memory or I/O module
3 types of system bus
- control bus
- data bus
- address bus
4 steps of machine cycle
- fetch (CU)
- decode (CU)
- execute (ALU)
- store (ALU)
- CU direct and coordinate operation
- ALU perform execution
3 operations and examples carries out in ALU
- arithmetic: calculation - 加减乘除
- comparison: comparing data items - greater/less than
- logical: conditions and logical operators - OR/AND/NOT
define I time
Instruction time
- time taken to fetch data and instructions from memory and store in internal register
define E time
Execution time
- time taken to decode and execute the instructions
pipelining
- multiple instructions are overlapped in execution
- execute more instructions in smaller period of time
- laundry analogy
3 classifications of microprocessor
- design of semiconductor technologies
- width of data format
- instruction set
3 design of semiconductor technologies
- TTL (Transistor-Transistor Logic)
- CMOS (Complementary-Metal-Oxide-Semiconductor)
- ECL (Emitter-Coupled Logic)
Characteristics of 3 design of semiconductor
TTL - most commonly used
CMOS
- low power consumption
- suitable for portable computer and battery-powered devices
ECL
- high power consumption
- high speed
CISC and RISC
Complex-Instruction-Set computer
- easier to program
- slower
- more expensive