生活随笔
收集整理的這篇文章主要介紹了
条件跳转指令总结
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
指令全稱cmp a,bflag條件
| jz/je | jump if zero/equal | a=b | ZF=1 |
| jnz/jne | jump if not zero/equal | a!=b | ZF=0 |
| jb/jnae/jc | jump if below/not above or equal/carry | a<b,無符號數 | CF=1 |
| ja/jnbe | jump if above/not below or equal | a>b,無符號數 | |
| jna/jbe | jump if not above/ below or equal | a<=b,無符號數 | |
| jnc/jnb/jae | jump if not carry/not below /above or equal | a>=b,無符號數 | CF=0 |
| jg/jnle | jump if greater/not less or equal | a>b,有符號數 | |
| jge/jnl | jump if greater or equal/not less | a>=b,有符號數 | |
| jl/jnge | jump if less /not greater or equal | a<b,有符號數 | |
| jle/jng | jump if less or equal/not greater | a<=b,有符號數 | |
| jo | jump if overflow | | OF=1 |
| js | jump if signed | | SF=1 |
總結
以上是生活随笔為你收集整理的条件跳转指令总结的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。