Re: LZ: RE: A few ASM questions


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

Re: LZ: RE: A few ASM questions



Terry Peng wrote:
> 
> > 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     deWhoops! I don't know what I was thinking when I wrote this! It is faster to 
use

	push	ix
	push	de
	pop	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.


References: