A83: JP (HL) [Z80]


[Prev][Next][Index][Thread]

A83: JP (HL) [Z80]




What does JP (HL) exactly do?

1. PC (Program Counter) is what is at 'adress HL' (jumps to (HL))
2. PC is HL (jumps to HL)

I ask this because in the ROM (1.10) the last ROMcall in the jumptable is:

52E5h:
EXECUTE_Z80:		; from Squish.inc
	LD	HL,9327h
	JP	(HL)

And ehm, I always thought that JP (HL) did the first thing I mentioned, but
with the example it is probably the second.




Follow-Ups: