Re: LZ: RE: A few ASM questions


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

Re: LZ: RE: A few ASM questions



> On Monday, July 21, 1997 10:19 PM, Buddy Smith[SMTP:ti85calc@bellsouth.net] wrote:
> > Hi!  I have a few questions...
> >
> > 1:  How can I do something equivalent to ex ix,de?  will this work:
> >     .db $dd/ex ix,de?  Currently, I'm using this:
> >     ld (somevar),ix/ld de,(somevar)

If you want to do [ex de,ix] use this:
	push	ix
	ld	ix,0
	add	ix,de
	pop	de
But if you want to do [ld de,ix] this is easier:
	push	ix
	pop	de

-- 
Terry Peng
email-	tpeng@geocities.com
web-	http://www.geocities.com/SiliconValley/Bay/5104/index.html
This site always has the latest versions of my software.


Follow-Ups: References: