ASSEMBLY LANGUAGE PROGRAMMING
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
If you have an operand of 5 bits what is the maximum value the operand can be?
|
15
|
|
16
|
|
31
|
|
32
|
Explanation:
Detailed explanation-1: -The XOR Instruction The XOR operation sets the resultant bit to 1, if and only if the bits from the operands are different. If the bits from the operands are same (both 0 or both 1), the resultant bit is cleared to 0. XORing an operand with itself changes the operand to 0. This is used to clear a register.
Detailed explanation-2: -A 16-bit code beginning with a “0” represents an address instruction, also called A-instruction. A 16-bit code beginning with a “1” represents a compute-store-jump instruction, also called C-instruction.
There is 1 question to complete.