Syntax of short jmp instruction

Viewed 9351

I'm reading http://thestarman.pcministry.com/asm/2bytejumps.htm but the text isn't very clear about how to do a JMP to an offset (a short jump to a relative address without using a label).

Let's say I have

NOP
NOP
NOP
NOP

(which is 4 bytes of instructions), and I want to skip them (skip 4 bytes). What would I write?

jmp $+4;?

jmp $+2+4;?

2 Answers
Related