Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!dayton!joe From: joe@dayton.UUCP Newsgroups: comp.os.minix Subject: Re: Stack Growth Direction Message-ID: <386@dayton.UUCP> Date: Thu, 12-Feb-87 16:55:59 EST Article-I.D.: dayton.386 Posted: Thu Feb 12 16:55:59 1987 Date-Received: Fri, 13-Feb-87 21:58:59 EST References: <383@dayton.UUCP> <13647@ti-csl.CSNET> <384@dayton.UUCP> <913@drivax.UUCP> Reply-To: joe@dayton.UUCP (Joseph P. Larson) Organization: Dayton-Hudson Dept. Store Co. Lines: 28 Keywords: Stacks In article <913@drivax.UUCP> alexande@drivax.UUCP (Mark Alexander) writes: >In article <384@dayton.UUCP> joe@dayton.UUCP (Joseph P. Larson) writes: >>Pre-decrement of SP for a push makes the stack grow up... > >Wrong. > >I quote from the Intel iAPX 286 Programmer's Reference Manual, 1984, >pages B-80 and B-84: > > POP ... The word on the top of iAPX 286 stack, addressed by > SS:SP, replaces the previous contents of the memory, register, > or segment register operand. The stack pointer SP is incremented > by 2 to point to the new top of stack. I continue to get mail, so I might as well continue to continue... Why is it called the "top of stack" if the stack grows down? Yes, the stack grows towards low memory. The entire problem is that of terminology. I wasn't wrong. No one else was either. I knew exactly what I was talking about even if no one else did. So quit with the mail!!!!! -- UUCP: rutgers!dayton!joe Dayton Hudson Department Store Company ATT : (612) 375-3537 Joe Larson/MIS 1060 (standard disclaimer...) 700 on the Mall Mpls, Mn. 55408