Sonic Alert msm83c154s, msm80154s, msm85c154hvs MOV bit address, C Move carry flag to bit, 323

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 330
Image 330

DESCRIPTION OF INSTRUCTIONS

64. MOV bit address, C (Move carry flag to bit)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Instruction code

:

 

1

 

0

 

0

1

 

0

 

 

0

 

 

 

1

 

 

 

0

 

 

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Bit address

 

b7

b6

b5

b4

b3

b2

 

 

b1

 

 

 

b0

 

 

Byte 2

Operation

: (bit address)(C)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

 

 

F1

 

 

 

P

 

 

 

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The carry flag content is copied to the specified bit address.

Example MOV P1.4, C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction code

:

1

0

0

1

0

0

1

0

Byte 1

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0 0 1

0 1

0

0

Byte 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Before execution

 

 

 

 

After execution

 

 

 

 

Port 1

 

 

 

 

 

 

 

Port 1

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

1

1

1

1

 

1

1

 

1

0

 

1

1

1

1

 

 

7

 

 

4

 

 

 

0

7

 

 

 

 

4

 

 

 

 

 

 

0

 

 

 

Carry flag

 

 

 

 

 

 

Carry flag

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

323

Page 330
Image 330
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual MOV bit address, C Move carry flag to bit, 323