INTRODUCTION TO MICROPEOCESSOR
MODEL OF MICROPROCESSOR
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
XCHG
|
|
XLAT
|
|
XOR
|
|
JCXZ
|
Detailed explanation-1: -9. The instruction that is used for finding out the codes in case of code conversion problems is a) XCHG b) XLAT c) XOR d) JCXZ Answer: b Explanation: the translate(XLAT) instruction is used to find codes.
Detailed explanation-2: -ADD: Addition: This instruction adds an immediate data or contents of a memory location specified in the instruction or a register (source) to the contents of another register (destination) or memory location. The result is in the destination operand.
Detailed explanation-3: -5. Which instruction is used to check the status of a single bit? Explanation: JNB which stands for Jump if no bit checks the status of the bit P0. 0 and jumps if the bit is 0.
Detailed explanation-4: -Which of the following instruction is not valid? a)MOV AX, BXb)MOV DS, 5000Hc)MOV AX, 5000Hd)PUSH AXCorrect answer is option ‘B’. Can you explain this answer?