[A83] Re: call hl


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

[A83] Re: call hl




> Van: Darren <qarnos@dingoblue.net.au>
> 
> I was just wondering if there was an easy way to call to an address in
> hl (or ix for that matter) and I came up with the following macros.

Simple :-)

cHL:
	jp	(hl)

main:
	call	cHL

Basicaly the same with IY and IX.

On the Ti83(-) a "jp (hl)" is located at $52E8, as long as you haven't
changed that ROM-page.

	Henk Poley <><



Follow-Ups: