Of course there is an easier way to calculate the some of two
numbers, but it's still a good example of JMP instruction.
As you can see from this example JMP is able to transfer control
both forward and backward. It can jump anywhere in current code
segment (65,535 bytes).
· Short Conditional Jumps
Unlike JMP instruction that does an unconditional jump, there are
instructions that do a conditional jumps (jump only when some conditions
are in act). These instructions are divided in three groups, first group just
test single flag, second compares numbers as signed, and third compares
numbers as unsigned.
Jump instructions that test single flag