标签: assembly x86
我是汇编x86的新手,几乎不了解imul函数。
mov dl,-1 mov al,-66 imul dl PRINT_UDEC 4,AL ==> AND THIS GIVES 66 which I expect
但是当我尝试这样做时:
mov dl,1 mov al,-66 imul dl PRINT_UDEC 4,AL ==> AND THIS GIVES ME 190 which I don't expect
那么这个imul函数是如何工作的?