Branch if nonzero
BNE(ra, label, rc)
PC <PC> + 4
rc <PC>
if <ra> nonzero then
PC <PC> +
4 word_displacement
BNE
instr i
instr j
label:
PC
compute
word_displacement
Convenience
of a symbolic
assembly language!
“Fetch into rc the address of the next instruction.
If ra does not contain zero then add 4 times
word_displacement to the value of PC”.
Previous slide
Next slide
Back to first slide
View graphic version