You are on page 1of 2

Lecture no 4 Part-2 Date-03/08/2013 Name-Rahul, Class-B.Sc. (H) Physics Roll No. -82 AIM:-Classification of instructions on the basis of operation.

. 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

(4) CMA:-Complement of accumulator. A- 0000 0000 CMA 1111 1111

S7 S6 S5 S4 S3 S2 S1 S0 INPUT PORT OOH

AC F3 F2 8085 uP P2 ROM F1 L4 L3 L2 L1

You might also like