EasyManua.ls Logo

Oki MSM85C154HVS - Page 268

Oki MSM85C154HVS
378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DESCRIPTION OF INSTRUCTIONS
261
16. ANL C,/bit address (Logical AND complement bit to carry flag)
10110000
70
Instruction code
Bit address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ANL C,/P1.3
Instruction code
: Byte 1
b7 b6 b5 b4 b3 b2 b1 b0
70
Byte 2
(C)(C) AND (bit address):
C AC F0 RS1 RS0 OV F1 P
:
:
:
The logical AND between the carry flag and the complement of
specified bit address contents is determined. The result is
placed in the carry flag.
:
10110000
70
Byte 1
Port 1
0000
1010
70
2
2
10010011
70
Byte 2
Before execution
Port 1
0000
1010
70
After execution
:
1
Carry flag
0
Carry flag
33

Table of Contents