Re: A86: No memory


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

Re: A86: No memory




good technique for using the stack to jump to labels to save mem...i think 
ill try this out!
Thanks for sharing this with all of us


Ricky Cobb
arcadesdude@hotmail.com
icq# 41440378


>From: "David Phillips" <david@acz.org>
>Reply-To: assembly-86@lists.ticalc.org
>To: <assembly-86@lists.ticalc.org>
>Subject: A86: No memory
>Date: Fri, 3 Mar 2000 23:17:21 -0800
>
>
>This link was posted on the gbdev list:
>
>http://www.jdm.homepage.dk/nomem.htm
>
>I've never seen this used anywhere before, but it's quite an interesting at
>programming.  A variation that I have used allows a smaller way of 
>returning
>from a large case type structure.  Instead of doing this:
>
>  ...
>  jr z,end
>  ...
>  jr z,end
>  ...
>end:
>
>
>Something like this:
>
>  ld hl,end
>  push hl
>  ...
>  ret z
>  ...
>  ret z
>  ...
>end:
>
>
>Comments?
>
>--
>David Phillips <david@acz.org>
>http://www.acz.org/
>
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com