last day Flashcards

1
Q

What is the MAR and what is it used for?

A

The MAR (Memory Address Register) is a special register that is used to hold the address in a memory transfer.

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

What is the MDR?

A

The MDR (Memory data register) is a special register that is used to hold the data in a memory register

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

What does a typical instruction cycle consist of?

A
  1. Instruction fetch (IF) - fetch the instruction from memory
  2. Instruction decode (ID) - decode the instruction
  3. Operand(s) fetch (OF) - fetch the operatnds. This step is not always required, and depends on addressing modes being used
  4. Instruction Execute(IE) - execute the instruction
  5. Store Result/Write Back (WB) - write results
  6. Process Interrupts - process any pending interrupt requests; not always required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are micro-opertions?

A

Typically the smallest unit of work performed by the CPU

Their role is to control the operations of the CPUs components

Provides a set of control signals to one or more of the CPU components

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

What are the steps to load a word from a main memory

A
  1. Calculate the address to be accessed and denote it by addr
  2. Store the address addr into the memory address register (MAR)
  3. Control unit (CU) sends a “read” signal to the memory. The data requested is placed into the memory data register (MDR)
  4. Read the data from MDR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the steps to store a word x to a main memory?

A
  1. Calculate the address to be accessed and denote it by addr
  2. Store the data value x to the memory data register (MDR)
  3. Store the address addr into the memory address register (MAR)
  4. Control unit (CU) sends a “write” signal to the memory. The data requested is placed into the meory after some time has passed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two possible solutions for interfacing with memory?

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

What are the steps that constitute one instruction cycle?

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

What are the micro operations for the following:

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