MSM80C154S/83C154S/85C154HVS

23. CLR A (Clear accumulator)

 

 

 

7

 

 

 

 

 

 

 

0

 

Instruction code

:

 

1

 

1

1

0

0

1

0

0

Byte 1

Operation

: (A)0

 

 

 

 

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The accumulator is cleared to 0 and flag is updated.

Example CLR A

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

0

 

 

 

 

 

Instruction code

:

1

1

 

1 0

0 1

0 0

Byte 1

 

 

 

Before execution Accumulator

1 0 1 1 0 1 0 1

70

After execution Accumulator

0 0 0 0 0 0 0 0

70

272

Page 279
Image 279
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual MSM80C154S/83C154S/85C154HVS CLR a Clear accumulator, 272