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)
What component is this? It is used for any internal computations that need to be done fast without the added overhead of writing to external memory.
Internal memory
What component is this? A bidirectional device that holds outgoing data until the memory bus is ready for it or incoming data until the CPU is ready for it.
Data buffer
What component is this? Maintains the address that the processor wishes to exchange data with on the memory bus. It also provides signal conditioning and circuit protection for the CPU.
Address latch
What component is this? Represents the device interfaces that have been incorporated into the processor’s hardware.
I/O ports
What component is this? These registers contain the flags that represent the current configuration of the processor.
Configuration registers
What component of the CPU is this? It knows the big picture of what needs to be done, it knows which of the CPU’s components can do it, and it controls the timing to do it.
Control unit
What component of the CPU is this? A collection of logic
circuits designed to perform arithmetic.
ALU
What component of the CPU is this? Receives the instruction from memory, interprets the value to see what instruction is to be performed, and tells the ALU and the registers which circuits to energize in order to perform the function.
Hint:those rings kids used to get in the mail.
Instruction decoder
What component of the CPU is this? Used to store the data, addresses, and flags that are in use by the CPU
Registers