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