JMP
Operand:
label
4-byte address
Unconditional Jump. Transfers control to another part of the program.
4-byte address may be entered in this form:
1234h:5678h, first value is a segment second value is an offset.
Algorithm:
always jump
Example:
include 'emu8086.inc'
#make_COM#
ORG 100h
MOV AL, 5
JMP label1 ; jump over 2 lines!
PRINT 'Not Jumped!'
MOV AL, 0
label1:
PRINT 'Got Here!'
RET
Flags:
C Z S O P A
unchanged