<<< Simplified Jump Instructions (not x86!) | Index | Simplified Instructions Reserved Opcode (not x86!) >>> |
|
|
Conditional jump instruction mechanics are:
Test some condition, and then jump, but only if the condition was true.
Fall through to the next instruction if the condition was false.
Conditional jumps test the results of the preceeding CMP instruction. For example,
cmp bx, 0 ; Is BX = 0? je is_zero ; Jump if so ... is_zero:
<<< Simplified Jump Instructions (not x86!) | Index | Simplified Instructions Reserved Opcode (not x86!) >>> |