The Program Counter
addi $1, $0, 43
addi $2, $0, 2
addi $3, $0, 0
PC
addi $3, $0, 1
x = 43; // addi $1, $0, 43
y = 2; // addi $2, $0, 2
same = 0; // addi $3, $0, 0
if (x == y)
same = 1; // addi $3, $0, 1 execute if x == y
Clearly, this is not correct
We cannot always execute both 0x10008 and 0x1000c
Previous slide
Next slide
Back to first slide
View graphic version