Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual 252

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 259
Image 259

MSM80C154S/83C154S/85C154HVS

7. ADDC A, @Rr (Add carry plus indirect address to accumulator)

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

0

 

1

1

0

 

1

1

r

Byte 1

Operation

: (A)(A)+(C)+((Rr)) r=0 or 1

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

: The carry flag is added to the accumulator, and the contents of

 

 

data memory location addressed by the register r contents are

 

 

added to the accumulator. The result is placed in the

 

 

accumulator, and the flags are updated.

 

 

Example ADDC A, @R0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

0

 

 

 

 

 

 

Instruction code

:

0 0

1 1

 

0 1

1 0

Byte 1

 

 

 

Before execution Accumulator

1 1 0 1 0 1 0 1

70 Register 0

0 1 1 0 1 0 1 1

70 6BH

0 1 1 1 1 0 1 1

70 Carry flag

0

After execution Accumulator

0 1 0 1 0 0 0 0

70 Register 0

0 1 1 0 1 0 1 1

70 6BH

0 1 1 1 1 0 1 1

70 Carry flag

1

252

Page 259
Image 259
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual 252