The difference between cmpl and cmp

前端 未结 3 1665
星月不相逢
星月不相逢 2021-02-07 17:50

I am trying to understand assembly to be able to solve a puzzle. However I encountered the following instructions:

0x0000000000401136 <+44>:    cmpl   $0x7,         


        
3条回答
  •  生来不讨喜
    2021-02-07 18:27

    Just to add one extra detail for clarification to @glglgl's excellent answer is that the "l" in "cmpl" is an operation suffix indicating that the operation is being done on a long number (32 bit integer or 64-bit floating point).

提交回复
热议问题