A86: No memory


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

A86: No memory




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/



Follow-Ups: