Professional Documents
Culture Documents
. The insturctions on the basis of operations are classified as follows:(1) (2) (3) (4) (5) Data transfer operation:- MOV,MVI. Arithematic operation:- ADD,SUB. Logical operation:- CMA Branch operation:-JNC,JNZ,JZ,JC,JMP. Machine control operation:-HLT,NOP(No operation) Logical operation:(1) ANA :- ANDing the content of accumulator. (2) ORA:-ORing the content of accumulator. (3) XRA:- XORing the content of accumulator. Ex:(1) ANA B, ANDing the content of accumulator with B A- 04H B- 32H 0000 0100 0011 0010 0000 0000 ANA B= 0 (2) ORA B,ORing the content of accumulator with B A- 04H B- 32H 0000 0100 0011 0100 0011 0110 (3) XRA B,XORing the content of accumulator with B. A- 04H B- 03H 0000 0100 0011 0010 0011 0110
AC F3 F2 8085 uP P2 ROM F1 L4 L3 L2 L1