THE 80286 INSTRUCTION SET

AND-Logical AND

Opcode

 

Instruction

Clocks

Description

20

Ir

 

AND

eb,rb

2,mem=7

Logical-AND byte register into EA byte

21

Ir

 

AND

ew,rw

2,mem=7

Logical-AND word register into EA word

22

Ir

 

AND

rb,eb

2,mem=7

Logical-AND EA byte into byte register

23

Ir

 

AND

rw,ew

2,mem=7

Logical-AND EA word into word register

24

db

 

AND

AL,db

3

Logical-AND immediate byte into AL

25

dw

 

AND

AX,dw

3

Logical-AND immediate word into AX

80

14

db

AND

eb,db

3,mem=7

Logical-AND immediate byte into EA byte

81

14

dw

AND

eW,dw

3,mem=7

Logical-AND immediate word into EA word

FLAGS MODIFIED

Overfiow=O, sign, zero, parity, carry=O

FLAGS UNDEFINED

Auxiliary carry

OPERATION

Each bit of the result is a 1 if both corresponding bits of the operands were 1; it is 0 otherwise.

PROTECTED MODE EXCEPTIONS

#GP(O) if the result is in a non-writable segment. #GP(O) for an illegal memory operand effective address in the CS, DS, or ES segments; #SS(O) for an illegal address in the SS segment.

REAL ADDRESS MODE EXCEPTIONS

Interrupt 13 for a word operand at offset OFFFFH.

8-20

Page 230
Image 230
Intel 80287, 80286 manual AND-Logical