MSM80C154S/83C154S/85C154HVS

40. INC Rr (Increment register)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

Instruction code

:

 

0

0

 

0

0

 

 

1

r2

r1

r0

Operation

: (Rr)(Rr)+1

r=0 thru 7

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

 

 

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

: The register r contents are incremented by 1.

Example INC R5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

0

 

 

 

 

 

 

Byte 1

Instruction code

:

0 0 0 0

 

1 1 0 1

Byte 1

Before execution Register 5

1 0 1 1 1 1 1 1

70

After execution Register 5

1 1 0 0 0 0 0 0

70

292

Page 299
Image 299
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual MSM80C154S/83C154S/85C154HVS INC Rr Increment register, 292