Lec - 5 Micro Must
Lec - 5 Micro Must
8086
MICROPROCESSORS
Lec.5
Dr. Abdallah Ramadan Fawzy
E-Mail: Abdallah.gad@must.edu.eg
The figures and text included in slides are borrowed from various books, websites, and
other sources for academic purposes only. The author do not claim any originality.
MICROPROCESSORS
8086
❖Arithmetic Instructions
❖Logical Instructions
❖Branching Instructions
❖Control Instructions
Logical Instructions
❑ AND operation
❑ OR operation
❑ XOR operation
❑ Equality
❑ Greater Than
❑ Less Than
The contents of the accumulator are logically ANDed with the contents of
register or memory.
The result is placed in the accumulator.
If the operand is a memory location, its address is specified by the contents
of H-L pair.
S, Z, P are modified to reflect the result of the operation.
CY is reset and AC is set.
Example: ANA B or ANA M.
Logical Instructions
The contents of the accumulator are XORed with the contents of the register or memory.
If the operand is a memory location, its address is specified by the contents of H-L pair.
The contents of the accumulator are logically ORed with the contents of the register or
memory.
If the operand is a memory location, its address is specified by the contents of H-L pair.
The contents of the accumulator are XORed with the contents of the
register or memory.
The result is placed in the accumulator.
If the operand is a memory location, its address is specified by the
contents of H-L pair.
S, Z, P are modified to reflect the result of the operation.
CY and AC are reset.
Example: XRA B or XRA M.
Logical Instructions
• Conditional jumps
• Unconditional jumps
2.Call & Return
• Conditional Call & Return
• Unconditional Call & Return
5. Machine Control Instructions
These instructions affect the operation of the
processor. For e.g.
HLT Stop program execution
NOP Do not perform any operation