Exam #3 Review Part 4 Flashcards

Other

1
Q

addressing modes, instruction types

A

Addressing Modes
1. Register Addressing
Ex: add $t1, $t2, $t3

  1. Immediate Addressing
    Ex: addi $t1, $t1, 1
  2. Base Addressing
    Ex: sw $zero, ($t0)
  3. PC-Relative
    Ex: beq $t1, $t2, loop
  4. Pseudo Direct
    Ex: j loop

Instruction Types

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

addressing modes, instruction types

A

Addressing Modes
1. Register Addressing
Ex: add $t1, $t2, $t3

  1. Immediate Addressing
    Ex: addi $t1, $t1, 1
  2. Base Addressing
    Ex: sw $zero, ($t0)
  3. PC-Relative
    Ex: beq $t1, $t2, loop
  4. Pseudo Direct
    Ex: j loop

Instruction Types
1. R-type
Ex: add $t1, $t3, $t2

  1. I-Type
    Ex: sw $zero, ($t0)
  2. J-Type
    Ex: j loop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly