CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.14BNC (Branch relative if C = 0)/BHS (Branch if Higher or Same)

Execute the next instruction if the C-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).

BNC (Branch relative if C = 0)/BHS (Branch if Higher or Same)

Operation

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

(C) = 0: (PC) (PC) + 2 + rel (Word addition)

Assembler format

BNC rel/BHS 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: F8

74

Page 86
Image 86
Fujitsu F2MC-8FX manual BNC Branch relative if C = 0/BHS Branch if Higher or Same