CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.12 BN (Branch relative if N = 1)

Execute the next instruction if the N-flag is 0 and the branch if it is 1. 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).

BN (Branch relative if N = 1)

Operation

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

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

Assembler format

BN 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: FB

70

Page 82
Image 82
Fujitsu F2MC-8FX manual BN Branch relative if N =