Sonic Alert msm85c154hvs ORL data address, #data Logical or immediate data to memory, 343

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 350
Image 350

DESCRIPTION OF INSTRUCTIONS

84. ORL data address, #data (Logical OR immediate data to memory)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

0

 

0

0

0

1

1

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6

a5

a4

a3

a2

a1

a0

Byte 2

 

 

 

7

 

 

 

 

 

 

 

 

 

0

 

#data

 

 

I7

 

I6

 

I5

 

I4

I3

I2

I1

I0

Byte 3

Operation

: (data address)(data address) OR #data

 

Number of bytes

: 3

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The logical OR between an 8-bit immediate data value and the

 

 

specified data address contents is determined. The result is

 

 

placed in the specified data address.

 

 

Example ORL 55H, #11H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

Instruction code

:

0

1

0

0

0

0

1

1

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

0

1

0

1

0

1

0

1

Byte 2

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

0

0

0

1

0

0

0

1

Byte 3

 

 

 

Before execution 55H

1 0 0 0 0 1 0 0

70

After execution 55H

1 0 0 1 0 1 0 1

70

343

Page 350
Image 350
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual ORL data address, #data Logical or immediate data to memory, 343