Sonic Alert msm85c154hvs, msm83c154s ANL A, data address Logical and memory to accumulator, 259

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 266
Image 266

DESCRIPTION OF INSTRUCTIONS

14. ANL A, data address (Logical AND memory to accumulator)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

0

 

1

0

 

1

0

1

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6

a5

a4

a3 a2 a1

a0

Byte 2

Operation

: (A)(A) AND (data address)

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The logical AND between the accumulator contents and the

 

 

specified data address contents is determined. The result is

 

 

placed in the accumulator and the flag is updated.

Example ANL A, P1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

Instruction code

:

0

1

0

1

0

1

0

1

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

1

0

0

1

0

0

0

0

Byte 2

 

 

 

Before execution Accumulator

1 1 1 0 0 1 0 1

70 Port 1

1 0 1 0 1 1 1 1

70

After execution Accumulator

1 0 1 0 0 1 0 1

70 Port 1

1 0 1 0 1 1 1 1

70

259

Page 266
Image 266
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual ANL A, data address Logical and memory to accumulator, 259