Professional Documents
Culture Documents
1.E. Logical AND
1.E. Logical AND
1.E. Logical AND
LOGICAL AND
AIM:
To write an ALP for logical AND operation and execute the program using 8086
microprocessor.
EQUIPMENTS REQUIRED:
Algorithm:
1. Copy the first operand in the AX register.
2. Copy the Second operand in the BX register.
3. Using the logical AND instruction, AND operation between two contents of AX and BX
and result store in the AX register.
4. Show the Accumulator content by using INT3 Instruction.
Stop
INPUT OUTPUT
MEMORY MEMORY
DATA DATA
ADDRESS ADDRESS
8001 78H(AL) AX=1230H
8002 56H(AH)
8004 34H(BL)
8005 12H(BH)
RESULT:
Thus the ALP program for Logical AND was executed successfully and the output was
verified.