JNZ & CMP Assembly Instructions

前端 未结 5 603
北恋
北恋 2021-01-31 18:27

Correct me if I am wrong.

This is my understanding of JNZ and CMP.

JNZ - The jump WILL take place if the Z Fl

5条回答
  •  时光说笑
    2021-01-31 19:16

    At first it seems as if JNZ means jump if not Zero (0), as in jump if zero flag is 1/set.

    But in reality it means Jump (if) not Zero (is set).

    If 0 = not set and 1 = set then just remember:
    JNZ Jumps if the zero flag is not set (0)

提交回复
热议问题