Everything 1 Flashcards
(500 cards)
What do computers do to data?
process it
_____ is the basic building block of all computers
binary
What is a microprocessor?
Same role as CPU but smaller scale // usually for a specific task // AKA embedded system // example are traffic lights, digital alarm clocks
What’s a CPU?
Central processing unit // performs thousands of tasks and complex instructions // example smartphones or laptops
What’s von Neumann architecture?
CPU access memory directly // memory stores programs and data // programs are series of instructions carried out in order
What is the fetch decode execute cycle?
Everytime a computer performs a task or runs a program it runs the FDE cycle // Fetches the instruction into the CPU // CPU decodes the instruction // Instruction is executed by CPU
What happens in the fetch step of FDE cycle?
PC contains address of memory location of next instruction // address is copied from PC to MAR via address bus // instruction at address contained in MAR temporarily copied to MDR using data bus // instruction of MDR copied into CIR // PC incrememts by 1, points to next instruction // instruction gets decoded then executed by signals via control bus to other parts of the computer
FETCH - What happens after the PC gets first instruction?
Address copied from PC to MAR
FETCH - What happens after MAR receives instruction via address bus?
Instruction copied to MDR
FETCH - Where do instructions go after MDR?
CIR
When instructions are executed by CPU, what component performs maths and logic calculations?
Arithmetic Logic Unit (ALU)
What’s the ALU’s special register for storing interim calculations called?
Accumulator (ACC)
Name 3 types of buses in CPU
data bus, control bus, address bus
What does the CIR do?
stores the current instructions being decoded and executed
What does the MAR do? (Memory address register)
stores the address of the memory location currently being read from/written to
What does the MDR do? (Memory data register)
stores data which has just been read from memory/data and is about to be written to memory
What does the PC do? (program counter)
stores the address where the next instruction to be read can be found
What does the CU do? (control unit)
sends control signals that manages the execution of instructions in the cpu
Describe the address bus
Carries addresses throughout the computer (unidirectional)
Describe the data bus
Alllows data to be sent through the computer (bi-directional)
Describe the control bus
Carries signals from the control unit to all other components (bi-directional)
Another name for RAM is
IAS Immediate Access Store
Convert 12 to binary?
1100
Convert 23 to binary
10111