Chapter 3 Flashcards
(38 cards)
What does the Control Unit do?
Manages other components of the CPU
What does the Arithmetic Logic Unit do?
Carries out mathematical calculations
What are registers?
Small areas of storage in the CPU
What are the 5 registers in the CPU?
PC, MAR, MDR, CIR, ACC
What does the Program Counter do?
Holds the ADRESS of the NEXT instruction
What does the Memory Address Register do?
Contains address of RAM to be written to / read from
What does the Memory Data Register do?
Contains the data to be written to RAM / read from RAM
What does the Current Instruction Register do?
Holds the instruction currently being decoded or executed
What does the Accumulator do?
Holds data stored by ALU during operations
What does the Control bus do?
Carries control signals, CU -> CPU
Control signals = [‘read’ or ‘write’]
Carries Control signals, CPU -> RAM
What does the Address Bus do?
Carries addresses ONE WAY
MAR -> RAM
What does the Data Bus do?
Carries data to be written from MAR -> RAM.
When data is read, it carries read data from RAM -> MAR
What is meant by “fetch” in the fetch-decode-execute cycle?
An instruction is taken from RAM -> CPU
What is meant by “decode” in the fetch-decode-execute cycle?
Instruction is decoded by CU
What is meant by “execute” in the fetch-decode-execute cycle?
Instruction is executed, usually by ALU.
What is Clock Speed
How many cycles a CPU can perform in one second (measured in GHz)
What is Cache?
Fast memory in the CPU. Stores temporary copies of data in RAM. When CPU reads data, it will first check if the address is in the cache, to determine whether to read from cache or RAM (RAM is slower)
What are cores?
Processors in the CPU.
A single core can perform one instruction at a time.
Beneficial for running multiple programs at once.
What is an input device?
Inputs information to be processed
What is a sensor?
Detects physical qualities of surroundings
What is an output device?
Outputs information so it is suitable for humans
Primary Storage is divided into
RAM and ROM
What is RAM
Random Access Memory is temporary storage used to access programs currently ran. It is volatile (deleted when closed)
What is ROM
Contains data that can be read but not altered, not volatile (permanent)