CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.15 BP (Branch relative if N = 0: PLUS)

Execute the next instruction if the N-flag is 1 and the branch if it is 0 . Branch address corresponds to the value of addition between the PC value (word value) of the next instruction and the value with rel code-extended (word value).

BP (Branch relative if N = 0: PLUS)

Operation

(N) = 1: (PC) (PC) + 2 (Word addition)

(N) = 1: (PC) (PC) + 2 + rel (Word addition)

Assembler format

BP rel

Condition code (CCR)

N

Z

V

C

 

 

 

 

-

-

-

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

N:Not changed

Z:Not changed

V:Not changed

C:Not changed

Number of execution cycles: 4 (at divergence)/ 2 (at non-divergence)

Byte count: 2

OP code: FA

76

Page 88
Image 88
Fujitsu F2MC-8FX manual BP Branch relative if N = 0 Plus