我期待通過英特爾指令集手工,它看起來像有2種不同形式的ADC
將匹配/編碼ADC EAX, ECX
如下:編碼ADC EAX,ECX - 兩種不同的方式來編碼? (拱86)
ADC r/m32, r32 (11 /r , which encodes to 11C8)
或
ADC r32, r/m32 (13 /r, which encodes to 13C1)
我的問題是(給予我正確地做數學),是11C8
和13C1
等同?彙編程序在選擇一種編碼時會考慮哪些因素?問題是從實現一個彙編程序的角度來看,所以這個問題總的來說並不是關於這個特定的假設性指令。
如果它是一個漫長的回答,請點我在正確的方向我在Google上搜尋它失敗的嘗試。
是的,他們是等價的。 –