Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!vsi1!octopus!stever From: stever@Octopus.COM (Steve Resnick ) Newsgroups: comp.os.os2.programmer Subject: Re: Problems with LN_ENTER & DID_OK Message-ID: <1990Oct11.162100.376@Octopus.COM> Date: 11 Oct 90 16:21:00 GMT References: Reply-To: stever@octopus.UUCP (Steve Resnick ) Distribution: comp.os.os2.programmer Organization: Octopus Enterprises, Cupertino CA Lines: 19 In article so-ecs@stekt.oulu.fi (Juha Ruotsalainen ti) writes: >Question #1: > Why API-calls use stack instead of registers? > To be compatible with High-level language calling sequence (Pascal) To allow the passage of more parameters and data structures than would be available in registers To be re-entrant. Cheers! Steve -- ---------------------------------------------------------------------------- steve.resnick@f105.n143.z1.FIDONET.ORG - or - apple!camphq!105!steve.resnick Flames, grammar errors, spelling errrors >/dev/nul ----------------------------------------------------------------------------