DLX Flashcards

1
Q

Name three types of addressing mode

A

Register: Add R5, R3, R4
(R5 = R3+R4)

Immediate: Add R5, R4, #3
R5 = R4 + 3

Displacement: LW R4, 100(R1)
R4 = MEM[R1+100]

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

What stages of the Pipeline in a DLX?

A

IF Instruction fetch, instruction stored in Instruction Register

ID Instruction Decode, opcode decoded and data retrieved from registers

EX Execution: arithmetic operations, load/store address calculated

MEM: ?

WB Write back results to register file

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

What are structural hazards?

A

When 2 or more instructions try to use the same hardware component.

E.g. Memory Bus / Register write back

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