Question: 6 . Write a program that evaluates the logical exclusive OR of two operands. as the basic computer has only AND and Complement logical operations,

6. Write a program that evaluates the logical exclusive OR of two operands. as the basic computer has only AND and Complement logical operations, then convert the functionality of X-OR into equivalent AND operations before you write the program.
i need it to be solved like this:
ORG 100
LDA ADS
STA PTR
LDA NBR
STA CTR
CLA
ADD PTR I
ISZ PTR
ISZ CTR
BUN LOP
STA SUM
HLT
HEX 150
HEX 0
DEC -100
HEX 0
HEX 0
ORG 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!