Fujitsu F2MC-8FX manual INC INCrement Byte Data of General-purpose Register

Models: F2MC-8FX

1 272
Download 272 pages 2.67 Kb
Page 126
Image 126

CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.34 INC (INCrement Byte Data of General-purpose Register)

Add 1 to byte data of Ri.

INC (INCrement Byte Data of General-purpose Register)

Operation

(Ri) (Ri) + 1 (Word addition)

Assembler format

INC Ri

Condition code (CCR)

N

Z

V

C

 

 

 

 

+

+

+

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

N:Set to 1 if the MSB is 1 as the result of operation and set to 0 in other cases.

Z:Set to 1 if the result of operation is 00H and set to 0 in other cases.

V:Set to 1 if an overflow occurs as the result of operation and set to 0 in other cases.

C:Not changed

Number of execution cycles: 3

Byte count: 1

OP code: C8 to CF

114

Page 126
Image 126
Fujitsu F2MC-8FX manual INC INCrement Byte Data of General-purpose Register