Hail!
Once you wrote to Glenn Delahoy:
GD>> can someone tell me what this means please:
GD>> jmp $+2
TH> Jump over the next 2-bytes.
No. It must assemble to a short jump to the next insn. -- $ points to the
offset of "jmp", not to the next insn., and the short jump insn. is 2 bytes
long.
TH> It is considered poor programming practice with the 86xx family, but
^^^^
What do you mean?
TH> was routinely done with the 65xx processors. You can safely bet
TH> that folks who still do this used to program Commodors. [grin]
It's been widely used to insert a delay between 2 I/O port accesses on the
80x86 PCs until 486/P5 have appeared.
Farewell!
--- GoldED 2.50+
---------------
* Origin: Five Green Queens & Jean (FidoNet 2:5020/157.59)
|