Computer Science, asked by debo1016, 6 months ago

write an 8085 assembly language program to perform XOR operation between OAH And 07H stored in two consecutive memory 9060H and 9061H and transfer the result in 9071 memory location​

Answers

Answered by myone81
1

In 8085 Instruction set, and specially in its logical group of instructions, we have AND, OR, XOR, NOT type of instructions. 8085 does not have instructions to perform NAND, NOR, XNOR operations directly. Now let us discuss the instructions to perform XOR operations only.

To perform XORing of two numbers, 8085 imposes the restriction that one of the operands must be kept in the Accumulator. The other operand can be at any one of the following possible locations

Similar questions