Path: utzoo!utgpu!watserv1!watmath!maytag!watstat!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Newsgroups: comp.lang.pascal Subject: Re: Absolute troubles Message-ID: <1356@maytag.waterloo.edu> Date: 23 Jan 90 01:08:36 GMT References: <7559@chaph.usc.edu> <8470@portia.Stanford.EDU> Sender: daemon@maytag.waterloo.edu Reply-To: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Organization: U. of Waterloo, Ontario Lines: 11 In article <8470@portia.Stanford.EDU> dhinds@portia.Stanford.EDU (David Hinds) writes: >fails. Actually, I'm surprised either of them works. You are asking >the compiler to give a variable the same address as a parameter passed >by reference, which inherantly means that the address is not defined at >compile time. Declaring something at the same address as a parameter using absolute is fine. On a PC, parameters are addressed at fixed offsets relative to the BP register, so the addresses (offsets) are known at compile time. Duncan Murdoch