3.1 - computer architecture 🏗 Flashcards
what does a modern CPU have inside?
an ALU, CU, and some register buses
who paved the way for CPUs to look like this and why?
John von Neumann - he did this to allow computers to operate with less human intervention through his stored program concept
what does ALU stand for and what are its functions?
ALU = arithmetic + logic unit; it carries functions like logical shifts, subtractions, and logic gate operations while a program’s running on a device
what does CU stand for and what are its functions?
CU = control unit; it reads instructions from the program counter to interpret them through a fetch-decode-execute cycle while also helping keep data flow in a device in sync
how does the CPU access data and programs on a device?
it takes them from backing stores like HDDs and SSDs to temporarily put them into the RAM (aka IAS) to allow for faster R/W ops
what special purpose registers are in a von Neumann-system CPU?
the CIR (current instruction register), ACC (accumulator), MAR (memory address register), MDR (memory data register), and program counter (PC)
what does the CIR do?
it stores the instruction currently being decoded+executed
what does the accumulator do?
it temporarily stores data during ALU calculations
what does the MAR do?
it stores the memory location address being written to
what does the MDR do?
it stores data that’s either already read or about to be written
what does the PC do?
it stores the address of the next instruction to be read
what do device memory partitions contain?
binary addresses that can be written into the MAR to have their contents put into the MDR
what system buses exist in von Neumann architecture?
the address, data, and control buses
what does the address bus do?
it unidirectionally carries addresses from the CPU to device memory and can address more memory locations simultaneously the wider it is
what does the data bus do?
it bidirectionally carries data between the CPU and device memory and can process more bits simultaneously the wider it is