EasyManua.ls Logo

Rabbit 2000 - Page 26

Rabbit 2000
120 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...
22 Rabbit 2000/3000 Microprocessor
Description
Performs a logical AND operation between the byte in the Accumulator and the 8-bit constant n. The relative
bits of each byte are compared (i.e., the bit 1 of both bytes are compared, the bit 2 of both bytes are compared,
etc.) and the associated bit in the result byte is set only if both the compared bits are set. The result is stored in
the Accumulator.
Description
Performs a logical AND operation between the byte in the Accumulator and the byte in the register r (any of
the registers A, B, C, D, E, H, or L). The relative bits of each byte are compared (i.e., the bit 1 of both bytes
are compared, the bit 2 of both bytes are compared, etc.) and the associated bit in the result byte is set only if
both the compared bits are set. The result is stored in the Accumulator.
AND n
Opcode Instruction Clocks Operation
E6 n AND n 4 (2,2) A=A&n
Flags ALTD I/O
S Z L/V C F R SP S D
L 0
AND r
Opcode Instruction Clocks Operation
——
A7
A0
A1
A2
A3
A4
A5
AND r
AND A
AND B
AND C
AND D
AND E
AND H
AND L
2
2
2
2
2
2
2
2
A=A&r
A=A&A
A=A&B
A=A&C
A=A&D
A=A&E
A=A&H
A=A&L
Flags ALTD I/O
S Z L/V C F R SP S D
L 0

Other manuals for Rabbit 2000