<<< Assembly vs. Machine Language | Index | Conditional Jumps >>> |
Just as in high-level language, you want to control program flow.
The JMP instruction transfers control unconditionally to another instruction.
JMP corresponds to goto statements in high-level languages:
; Handle one case label1: . . . jmp done ; Handle second case label2: . . . jmp done . . done:
<<< Assembly vs. Machine Language | Index | Conditional Jumps >>> |