Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site pucc-i Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!pucc-j!pucc-i!ade From: ade@pucc-i (D. Kakarigi) Newsgroups: net.micro.pc,net.lang.pascal Subject: Re: How does the inline() work in TURBO PASCAL ? Message-ID: <1205@pucc-i> Date: Sat, 23-Nov-85 13:19:09 EST Article-I.D.: pucc-i.1205 Posted: Sat Nov 23 13:19:09 1985 Date-Received: Sun, 24-Nov-85 06:21:49 EST References: <1172@princeton.UUCP> Reply-To: ade@pucc-i.UUCP (D. Kakarigi) Distribution: net Organization: Purdue University Computing Center Lines: 13 Xref: watmath net.micro.pc:5982 net.lang.pascal:391 In article <1172@princeton.UUCP> wei@princeton.UUCP (P Wei) writes: >In my previous post, I mistyped inline($b8/$01/$cd/$7e); instead of >Am I wrong about the inline() statement ? I assume it is a statement informing >the complier and does nothing on the stack (it doesn't push its "argument" onto >the stack---i.e. the first code executing at run time is $B8). >Am I right???? >HP Wei (wei@princeton) The first code of your inline statement will be $B8, but when your procedure is called, it does something like: PUSH BP MOV BP,SP before it gets to $B8, so you do have an extra word on the stack!