Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!rice!uw-beaver!zephyr.ens.tek.com!tektronix!reed!intelhf!agora!robart From: robart@agora.rain.com (Robert Barton) Newsgroups: comp.sys.amiga.programmer Subject: Re: Short Hello World Message-ID: <1991May22.232415.20602@agora.rain.com> Date: 22 May 91 23:24:15 GMT Sender: robart@agora.rain.com (Robert Barton) Organization: Open Communications Forum Lines: 14 > Unfortunately, they are not as smart as you. They use: > OldOpenLibrary: > moveq.l #0,d0 > jsr OpenLibrary(a6) > rts > 6 bytes more than necessary! Actually, it looks like they are smarter than both of you. By using the official function call method (jsr to an offset from a6) they are able to handle the possibility that someone may have done a SetFunction() on the OpenLibrary routine. Having the OldOpenLibrary code just fall through to the ROM OpenLibrary code wouldn't allow this.