DESCRIPTION OF INSTRUCTIONS

37. INC @Rr (Increment indirect address)

 

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

0

0

0

0

1

1

 

r

Byte 1

Operation

: ((Rr))((Rr))+1

r=0 or 1

 

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

 

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The contents of the data memory location addressed by the

 

 

register r contents are incremented by 1.

 

 

Example INC @R1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

0

 

 

 

 

 

 

Instruction code

:

0

0

0 0

0 1

1 1

Byte 1

 

 

 

 

Before execution Register 1

0 1 1 0 0 1 0 1

7

0

65H

 

0 0 0 0 1 1 1 1

70

After execution Register 1

0 1 1 0 0 1 0 1

7

0

65H

 

0 0 0 1 0 0 0 0

70

289

Page 296
Image 296
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual INC @Rr Increment indirect address, 289