CPU and Programming Exam Flashcards
When the CPU sends an address to RAM, RAM doesn’t do anything with it until the CPU does what?
Turns on the on and off wires
If the CPU needs to save data to RAM, it outputs an address and data and then turns on the __ wire.
set
What are some things 1’s and 0’s can represent?
Instructions, numbers, addresses, and letters.
What does a LOAD instruction do?
It loads a number from RAM into the CPU
What does a COMPARE instruction do?
It compares two numbers
What does a JUMP instruction do?
It jumps to another address in RAM
What is the CPU bus?
A group of wires that connect multiple components together
What are the two ALU flags used during a COMPARE instruction?
the “A is larger” and “Equal”
The CPU uses the __________________ register to store the address of the next instruction.
Instruction Address
What does RAM stand for?
Random Access Memory
What type of memory can survive without power?
Persistent Memory
What two inputs does a And-Or Latch have?
Set and Reset
Using a matrix actually increases the amount of wire needed. (True or False?)
False
RAM is like a human’s _________ memory.
Short Term
What are registers?
Small, linear chunks of memory that are useful for storing a single value
What is RAM?
A type of computer memory that stores a lot of numbers located at different addresses
What is a CPU’s job?
To execute programs
What is the order of the instruction cycle?
Fetch phase, Decode phase, Execute phase
What does the control unit direct?
All of the different parts of the CP
What component keeps the CPU ticking along?
The clock