BEQ
When (Z) = 1, (PC) ← (PC) + 2 + REL
Op e r a t io n :
F u n c t io n :
This instruction takes a branch to the appointed address when
Z is 1. The branch address is specified by a relative address.
If Z is 0, the next instruction is executed.
St a t u s fla g :
No change
Addressing mode
∆BEQ∆$hhll
Relative
Notes 1: rr
=$hhll–( +2). The rr
16
2: When a branch is executed, add 2 to the cycle number.
38
B
RANCH ON
(Z) = 0, (PC) ← (PC) + 2
Statement
F0
is a value in a range of –128 to +127.
16
E
QUAL
Machine codes
Byte number
,rr
16
16
BEQ
Cycle number
2
2