10) The value stored in the registers AX, BX after the execution of the following code snippet is
MOV AX, 10
MOV BX, 02
MUL BX
O AX=20; BX=2
O AX=10: BX=20
O AX=10; BX=2
O AX=20; BX=0
Answers
Answered by
0
Answer:
who is wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
Explanation:
Answered by
0
Option A is correct.
Explanation:
- MOV, MUL are register instructions.
- These instructions are used to operate registers.
- MOV instruction is used to move values to registers.
- When MOV AX, 10 is used, 10 is stored in AX.
- When MOV BX, 02 is used, 02 or 2 is stored in BX.
- Now coming back to MUL BX, it can be expanded as
AX = AX * BX = 10 * 2 = 20
- So, AX value will become 20.
Therefore, the value in AX is 20 and BX is 2.
So, option A is correct.
Similar questions