jp (hl)
Posted: 23 Mar 2012, 19:11
Is there a way if i use JP (HL) in a routine to allow me to use RET in the routine that was jumped to ??
For example :
LD HL, TEST
JP (HL)
; Routine continues here
; This is the TEST routine
; Code to do stuff and then
RET ; Return to the line after the JP (HL)
Is this possible ???
Thanx
For example :
LD HL, TEST
JP (HL)
; Routine continues here
; This is the TEST routine
; Code to do stuff and then
RET ; Return to the line after the JP (HL)
Is this possible ???
Thanx