Chapter 5: Computer Architecture Flashcards
These cards will go over chapter 5: Computer Architecture (Nisan and Schocken) there will be another deck for Introduction to Processor Architecture (Tarnoff).
What two types of info does the memory of a von Neumann machine store?
Hint: DI PI
Hint: I dem-and you show me
Data items and programming instructions
What is a signal when discussing computer architecture?
Hint: is it logical? How is it represented on a wire?
A logical value represented as a voltage on a wire inside a machine
What is a bus?
Hint: Think about Batman and how he is informed of his need.
A bus is a group of signals with one purpose.
The instructions that reside in the instruction memory are written in an agreed-upon formalism called?
Hint: The answer involves the binary operations that computers directly understand.
machine language
The CPU executes tasks using what three main hardware elements?
Hint: Think about the components responsible for arithmetic and logical operations, temporary storage, and instruction execution control.
- ALU
- Registers
- Control Unit
What term is used to describe the registers that provide the CPU with short-term memory services?
Hint: Consider the type of info these registers handle, especially when the CPU needs quick access during calculations.
Data Registers
When executing a program, the CPU must always keep track of the address of the next instruction that must be fetched from the instruction memory. This address is kept in a special register called?
Hint: Think about about the role of this register in maintaining the sequence of instructions during program execution. :)
Program Counter
Define the von Neumann architecture and its key components.
Hint: Think about the fundamental elements of this architecture involving the CPU, memory device, and input/output device.
This architecture is based on a CPU interacting with a memory device, receiving data from some input device, and sending data to some output device
How are data abstractions like variables and arrays represented in the computer’s data memory?
Hint: Flight of the Concords made a song about it.
As Binary Numbers
In the case of an input device (keyboard, mouse, etc.), the memory map is
made to “ “.
Hint: a constant mirror with muscles holding a phone
Continuously reflect the physical state of the device
In the case of an output device (screen, speakers, etc.), the memory map is made to “ “.
Hint: A constant car driving to state devise 🤷♀️
Continuously drive the physical state of the device.
What does a Hack CPU consist of?
Hint: arithmetic, cash holders x2, PC
- ALU
- Data register (D)
- Address register (A)
- Program Counter (PC)
In a Hack CPU, what are the three ways an A-register can be interpreted as?
Hint: D, R, R
- As a data value
- As a RAM address
- As a ROM address