0
(0)

[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

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this post useful...

Share this post on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?