1

I'm trying to find the value of AX.

AX = (DX AX) / operand DX = remainder (modulus).

All the values are in hexademical

mov CX, 80A2
mov AX, DD38
mov DX, 49
idiv CX
add AX, DX

AX-?

What am I doing wrong? This is what I do:

AX = 0049 DD38 / 80A2 = 93
DX = 0049 DD38 mod 80A2 = 32
AX = 93 + 32 = C5

The correct answer is 3A4C

0 Answers0