[A83] Re: more push and pop stuff


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

[A83] Re: more push and pop stuff




Thank you! Funny that TI hasn't put it in, though.

Jimmy Pardey


>From: Jean Carot <yhean@noos.fr>
>Reply-To: assembly-83@lists.ticalc.org
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: more push and pop stuff
>Date: Wed, 22 Aug 2001 20:57:10 +0100
>MIME-Version: 1.0
>Received: from [195.67.128.9] by hotmail.com (3.2) with ESMTP id 
>MHotMailBD4D4A4F00BD4004314AC343800908100; Wed, 22 Aug 2001 11:52:14 -0700
>Received: from towerguard. (mx-1.sollentuna.net [195.67.128.9])by 
>mx-1.sollentuna.net (Postfix) with ESMTPid 7E0B018065; Wed, 22 Aug 2001 
>20:51:54 +0200 (CEST)
>Received: with LISTAR (v1.0.0; list assembly-83); Wed, 22 Aug 2001 20:51:54 
>+0200 (CEST)
>Received: from smtp.noos.fr (aragon.noos.net [212.198.2.75])by 
>mx-1.sollentuna.net (Postfix) with ESMTP id B2E6018064for 
><assembly-83@lists.ticalc.org>; Wed, 22 Aug 2001 20:51:52 +0200 (CEST)
>Received: (qmail 3363106 invoked by uid 0); 22 Aug 2001 18:51:41 -0000
>Received: from unknown (HELO croft) ([212.198.96.174]) (envelope-sender 
><yhean@noos.fr>)          by 212.198.2.75 (qmail-ldap-1.03) with SMTP       
>    for <assembly-83@lists.ticalc.org>; 22 Aug 2001 18:51:41 -0000
>From assembly-83-bounce@lists.ticalc.org Wed, 22 Aug 2001 11:53:32 -0700
>Delivered-To: lists.ticalc-assembly-83@mx-1.sollentuna.net
>X-Mailer: Opera 5.01 build 840
>X-Priority: 3 (Normal)
>Message-Id: <20010822185152.B2E6018064@mx-1.sollentuna.net>
>X-listar-version: Listar v1.0.0
>Sender: assembly-83-bounce@lists.ticalc.org
>Errors-To: assembly-83-bounce@lists.ticalc.org
>X-original-sender: yhean@noos.fr
>Precedence: bulk
>X-list: assembly-83
>
>
>Just save the stack state at the beginning of your program and restore it 
>when
>exiting:
>
>start:
>  ld (stack),sp
>
>...
>
>_quit:
>  ld sp,(stack)
>  ret
>
>stack: .dw $0000
>
>
>
>22/08/01 12:45:00, "Jimmy Pardey" <j_pardey@hotmail.com> wrote:
>
> >
> >
> >I would expect a _quit romcall or something, because if I push without
> >poping back the same number of time I pushed and try to return to the the
> >shell, something will (65534 out of 65535 times (memory adresses, I might
> >just hit the quit adress)) get messed up, or wouldn't it?
> >
> >Jimmy Pardey
> >
> >_________________________________________________________________
> >Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> >
> >
> >
> >
>
>
>
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp