The complete AT&T base/index register syntax is:
offset(base, index, multiplier)
Your offset
field is 0
, so you just have the (base, index, multiplier)
part. In your case, you're comparing the contents of the eax
register to the 32-bit value located at esi + (ebx * 4)
.
In the Intel syntax you might be more familiar with, this would be written as:
cmp [ebx*4 + esi], eax
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…