Chatper 15: Intro to Processor Architecture Flashcards

This deck goes over chapter 15 of Tarnoff's Intro to Processor Architecture

1
Q

Name the four types of registers Tarnoff mentions in chapter 15
Hint: DIFA

A
  1. Data Registers
  2. Address Registers
  3. Instruction Registers
  4. Flag Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Instruction Register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of register is this? A common use of an “ “ register is
to hold a pointer to an array or string.

A

Address Register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What type of register is this? These registers hold the values on which to perform arithmetic or logical functions.

A

Data Registers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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.

A

Flag Register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where is the flags register located at on the processor?

A

It’s connected to the mathematical unit of the processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is one of the primary uses of a flag?
Hint: The processors short term memory
What does the flag need to do?

A

To remember the results of the previous operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define a buffer.
Hint: May I hold this for you while you load your car?

A

A block of memory that can hold data until it is ready to be picked up by the processor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define a stack.
Hint: Kind of like a buffer but more temporary

A

A block of memory locations reserved to function as temporary memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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?

A

“last-in-first-out” or LIFO buffer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the two main operations a processor can perform on the stack?

A
  1. Store the value of a register to the top of the stack.
  2. Remove the top piece of data from the stack and place it in a register.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Storing data to the stack is referred to as “ “ while removing the
top piece of data is called “” or “ “.

A

Storing data is called pushing
Retrieving data is called pulling or popping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Input/output ports or I/O ports refer to?
Hint: Think about what the ports jobs are. How can they perform this job?

A

Any connections that exist between the processor and its external devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

printer port or keyboard and mouse interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

Central Processing Unit (CPU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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.

A

Internal memory

17
Q

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.

A

Data buffer

18
Q

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.

A

Address latch

19
Q

What component is this? Represents the device interfaces that have been incorporated into the processor’s hardware.

A

I/O ports

20
Q

What component is this? These registers contain the flags that represent the current configuration of the processor.

A

Configuration registers

21
Q

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.

A

Control unit

22
Q

What component of the CPU is this? A collection of logic
circuits designed to perform arithmetic.

A

ALU

23
Q

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.

A

Instruction decoder

24
Q

What component of the CPU is this? Used to store the data, addresses, and flags that are in use by the CPU

A

Registers