DESCRIPTION OF INSTRUCTIONS

82. ORL C, bit address (Logical OR bit to carry flag)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

1

 

1

0

0

1

0

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Bit address

 

b7

b6

b5

b4

b3

b2

b1

b0

Byte 2

Operation

: (C)(C) OR (bit address)

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The logical OR between the carry flag and the specified bit

 

 

address content is determined. The result is placed in the carry

 

 

flag.

 

 

 

 

 

 

 

 

 

 

 

Example ORL C, ACC.6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

Instruction code

:

0

1

1

1

0

0

1

0

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

1

1

1

0

0

1

1

0

Byte 2

 

 

 

Before execution Carry flag

0

Accumulator

After execution Carry flag

1

Accumulator

0 1 1 1

0

0

1

0

 

0

1

1

1

 

0

0

1

0

7

6

0

7

6

0

341

Page 348
Image 348
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual ORL C, bit address Logical or bit to carry flag, 341