[PRACTICAL] IMPLEMENT A PROGRAM TO PERFORM EXCLUSIVE OR OF TWO NUMBERS
Are you looking for a step-by-step guide to Implement a program to perform Exclusive OR of two numbers? here are the steps to implement a program to perform Exclusive OR of two numbers.
Program:
//Exclusive OR of two numbers //05 XOR 08 MVI B,05H MVI C,08H MOV A,B XRA C HLT
Input:
Content B register: 05h
Content C register: 08h
Output:
Content of Accumulator: 0Dh
For more practical related to 885 Programming please visit the 8085 Programming link