thx for help my question is about ax value received from code below?
mov al,22h
mov cl,0fdh
imul cl
- Actual machine result:
ff9a
- What I expected:
00:9a
(by multiplying in binary)
The first number is 22h so its 34 decimal its already unsigned the second number is fd in binary its goes like 11111101 so its signed that mean its like -3
so 22* -3 its 66; and -66 on signed 9a
so why there is ff at the beginning