Professional Documents
Culture Documents
MPILAB11
MPILAB11
This instruction bit by bit ORs the source operand that may be an immediate, register or a
memory location to the destination operand that may a register or a memory location. The
result is stored in the destination operand.
OUTPUT
OR
INSTRUCTION
CODE
org 100h
ret
OUTPUT
NOT INSTRUCTION
CODE
org 100h
XOR INSTRUCTION
CODE
org 100h
; add your code here
MOV AX,0018H
MOV CX,0016H
XOR AX,CX
ret
OUTPUT
TASK#2
Multiply decimal 14 with decimal 14 using AND and shift operators
CODE
OUTPUT
CONCLUSION
In this lab we learn about logical operations and shift operators and perform the given tasks on
software.