Chatper 15: Intro to Processor Architecture Flashcards
This deck goes over chapter 15 of Tarnoff's Intro to Processor Architecture
Name the four types of registers Tarnoff mentions in chapter 15
Hint: DIFA
- Data Registers
- Address Registers
- Instruction Registers
- Flag Registers
What type of register is this? Numeric values stored in memory. Each number represents a different command to be executed by the processor
Hint: of it were a human it’d be a teacher
Instruction Register
What type of register is this? A common use of an “ “ register is
to hold a pointer to an array or string.
Address Register
What type of register is this? These registers hold the values on which to perform arithmetic or logical functions.
Data Registers
What type of register is this? The processor can also use individual bits grouped together to represent the status of an operation or of the processor itself.
Flag Register
Where is the flags register located at on the processor?
It’s connected to the mathematical unit of the processor.
What is one of the primary uses of a flag?
Hint: The processors short term memory
What does the flag need to do?
To remember the results of the previous operation.
Define a buffer.
Hint: May I hold this for you while you load your car?
A block of memory that can hold data until it is ready to be picked up by the processor.
Define a stack.
Hint: Kind of like a buffer but more temporary
A block of memory locations reserved to function as temporary memory.
When a processor puts a piece of data, a plate, on the top of the stack, the data below it is hidden and cannot be removed until the data above it is removed. This
type of buffer is referred to as a?
“last-in-first-out” or LIFO buffer.
What are the two main operations a processor can perform on the stack?
- Store the value of a register to the top of the stack.
- Remove the top piece of data from the stack and place it in a register.
Storing data to the stack is referred to as “ “ while removing the
top piece of data is called “” or “ “.
Storing data is called pushing
Retrieving data is called pulling or popping
Input/output ports or I/O ports refer to?
Hint: Think about what the ports jobs are. How can they perform this job?
Any connections that exist between the processor and its external devices.
If the device is incorporated into the processor, then communication with the port is done by reading and writing to registers. This is sometimes the case for simple serial and parallel interfaces such as a?
Hint: Peripheral devices in her face
printer port or keyboard and mouse interface
What component is this? This is the brain of the processor.
The execution of all instructions occurs inside the component along with the computation required to determine addressing.
Central Processing Unit (CPU)