JNZ & CMP Assembly Instructions

前端 未结 5 618
北恋
北恋 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:11

    You can read JNE/Z as *

    Jump if the status is "Not set" on Equal/Zero flag

    "Not set" is a status when "equal/zero flag" in the CPU is set to 0 which only happens when the condition is met or equally matched.

提交回复
热议问题