BSCS

Indirect jump

Indirect jump

Near jump

jmp register/memory

A 16-bit operand contains the offset of the instruction, at which
the program execution shall continue.

Far jump

jmp memory

An operand contains the complete address (offset, segment)
of the instruction, at which the program execution shall
continue; it is of type:
• dword in 16-bit mode
• fword in 32-bit mode

Conditional jumps

They allow to branch program execution according to the flags
ZF, CF, SF, PF a OF.

jcc label

After comparison of unsigned numbers:

Conditional jumps must be direct, near and short.

Leave a Reply

Your email address will not be published. Required fields are marked *