LZ: Pushes and Ints
[Prev][Next][Index][Thread]
LZ: Pushes and Ints
-
Subject: LZ: Pushes and Ints
-
From: Micah/Richard Brodsky <Micahbro@msn.com>
-
Date: Fri, 20 Sep 96 00:14:37 UT
-
In-Reply-To: <>
I would like to build an int handler that uses the values of the registers as
they were when the handler was called (like that debugger program). Would the
following code crash the calc or set it up for a crash? Would the first part
be pointless? (Thanks!)
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
--MZB