Fujitsu F2MC-8FX manual BBS Branch if Bit is Set

Models: F2MC-8FX

1 272
Download 272 pages 2.67 Kb
Page 74
Image 74

CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.8BBS (Branch if Bit is Set)

Branch when the value of bit b in dir memory 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).

BBS (Branch if Bit is Set)

Operation

(bit)b = 0: (PC) (PC) + 3 (Word addition)

(bit)b = 1: (PC) (PC) + 3 + rel (Word addition)

Assembler format

BBS dir:b, rel

Condition code (CCR)

N

Z

V

C

 

 

 

 

-

+

-

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

N: Not changed

Z:Set to 1 when the value of dir:b is 0 and set to 0 when it is 1.

V:Not changed

C:Not changed

Number of execution cycles: 5

Byte count: 3

OP code: B8 to BF

62

Page 74
Image 74
Fujitsu F2MC-8FX manual BBS Branch if Bit is Set