Computer Architecture Experiment Lab 1: Warmup: Xiaohong Jiang
Computer Architecture Experiment Lab 1: Warmup: Xiaohong Jiang
Lab 1: Warmup
Xiaohong Jiang
Outline
Experiment
Purpose
Experiment Task
Basic Principle
Operating Procedures
Precaution
SF
CA_2013Spring_Lab
1.2
Experiment Purpose
SF
CA_2013Spring_Lab
1.3
Experiment Task
SF
CA_2013Spring_Lab
1.4
SF
CA_2013Spring_Lab
1.5
Branch instructions
Example
instruction
Instruction
name
Meaning
Jump
PCname;
((PC+4)-225) name < ((PC+4)+225)
JAL name
Regs[31]PC+4; PCname;
((PC+4)-225) name < ((PC+4)+225)
JALR R2
Regs[31]PC+4; PCRegs[R2]
name
PC Regs[R3]
JR R3
BEQ R4, R5, name
Branch equal
If (Regs[R4]==Regs[R5]) PCname;
((PC+4)-225) name < ((PC+4)+225)
Branch not
equal
SF
CA_2013Spring_Lab
1.6
Instruction format
SF
CA_2013Spring_Lab
1.7
Thanks!
SF
CA_2013Spring_Lab
1.8