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,
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 XOR into equivalent AND operations before you write the program.
i need it to be solved like this:
ORG
LDA ADS
STA PTR
LDA NBR
STA CTR
CLA
ADD PTR I
ISZ PTR
ISZ CTR
BUN LOP
STA SUM
HLT
HEX
HEX
DEC
HEX
HEX
ORG
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
