Unit 3.1 - Computer Architecture (Hardware) Flashcards
CPU function?
responsible for processing and executing all instructions and data in a computer
what is a microprocessor?
type of integrated circuit on a single chip
what does the CPU consist of?
Units: ALU, CU
Registers: PC, MAR, MDR, CIR, ACC
Buses: address, data, control
4 features of Von Neumann Architecture
-has concept of CPU / processor
-processor can access memory directly
-computer memories can store programs & data
-stored programs consists of instructions that can be executed in sequential order
Order (components) of the fetch-decode-execute cycle?
PC –> MAR –> address bus –> RAM –> data bus –> MDR –> CIR –> MAR –> address bus –> RAM –> data bus –> MDR –> ALU –> MDR –> data bus –> RAM
PC stands for? role of PC?
-program counter
-contains address of the memory location of the next instruction to be fetched from the memory
MAR stands for? Role?
-memory address register
-stores address of memory location currently being read / copied from PC
-stores address of memory location currently being written to MDR
MDR stands for? role?
-memory data register
-copies contents in it to CIR and later, ALU
-stores data which has just been read from RAM
-stores data which is just about to be written to RAM
CIR stands for? role?
-current instruction register
-stores current instruction being decoded and executed
ALU stands for? role?
-Arithmetic and Logical Unit
-performs arithmetic and logical equation
–> actually starts to execute the instruction
ACC stands for? Role?
-accumulator
-stores data temporarily while ALU does calculations
4 factors that affect the CPU’s performance
-clock cycle
-width of address and data bus
-cache memory
-CPU cores
instruction set definition
list of all the commands that can be run by the CPU (commands are machine code)
embedded system definition
combination of hardware and software that carries out a specific task
Embedded system is based on what 3 types? what’s in each of them?
-microcontroller –> CPU with peripherals
-microprocessor –> CPU without peripherals
-system on a chip –> CPU, memory, secondary storage all in one chip