So, I have code like this :
XOR DX, DX
MOV BX, 1
MOV AX, BX
MOV CX, 10
.LOOP:
JCXZ .EXIT_LOOP
IMUL AX, 34 ; in here
SUB AX, DX
ADD AX, 2
PUSH AX
INC DX
DEC DX
XCHG BX, DX
MOV BX, [SP]
LOOP .LOOP
.EXIT_LOOP:
I don't know, in 16-bit register IMUL instruction give me an error like this in emu8086.
It should be fine if use 32-bit register like IMUL EAX, 34 (not in emu8086).
How I can fix this ?