From
NASM Documents
Quote:
JMP jumps to a given address. The address may be specified as an absolute segment and offset, or as a relative jump within the current segment.
|
Yepi, relative jumps are possible
.
From what I have been testing, each instruction becomes 5 instructions thus to do a relative jump its 5*n where n is the number of instructiosn to jump.
Are all instructions come out as 5 instructions when compiled?
I didn't test all instructions but the ones I have tested become 5 instructions when compiled.
Thanks in advance!