Re: LZ: Pushes and Ints


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

Re: LZ: Pushes and Ints



Jimmy Mardell wrote:
> 
[snip]
>
> > >       push af
> > >       push bc
> > >       push de
> > >       push hl
> > >       push ix
> > >       push iy
> > >       ex af, af'
> > >       exx
> > >       pop iy
> > >       pop ix
> > >       pop hl
> > >       pop de
> > >       pop bc
> > >       pop af
> > >       .               ;int handler code here
> > >       .
> > >       .
> > >       .
> > >       .
> > >       exx
> > >       ex af, af'
> > >       jp $0038
> >
> > That should work.. Why don't you try it?
> >
> 
> The pushes aren't necessary except ix and iy, since exx does the
> same thing almost. Oh, if you use exx in the program current running
> it won't work good though :-)
[snip]


The standard interrupt habdler on the ti85 uses the exx and ex af,af'
as far as i remember, so the use of these to instructions should be
okey for an interrupt rutine.
<pre>
-- 
_______________________________________


Dines Justesen
Email: dines@MAILHOST.NET or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________
</pre>


References: