Path: utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!eru!hagbard!sunic!cs.umu.se!dvljrt From: dvljrt@cs.umu.se (Joakim Rosqvist) Newsgroups: alt.sources.amiga Subject: Re: Short Hello World Message-ID: <1991May4.134045.7550@cs.umu.se> Date: 4 May 91 13:40:45 GMT References: <1991Apr30.213936.22878@ux1.cso.uiuc.edu> <1991May2.102554.8679@cs.umu.se> <1200@cbmger.UUCP> Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 21 In article <1200@cbmger.UUCP> peterk@cbmger.UUCP (Peter Kittel GERMANY) writes: >In article <1991May2.102554.8679@cs.umu.se> dvljrt@cs.umu.se (Joakim Rosqvist) writes: >>>with SAS/C v5.0a (with 2.0 includes) to get an executable that is >>>// >>>// compiles and links into a 124 byte executable (62 byte codesize) >> >>Ok, assembler strikes back with this: (56 codesize, 92 executable) >> >>OpenLib=-408 >>Output=-60 >>Write=-48 > >Shame on you, you cheated! You do an OpenLib without a CloseLib! >Perhaps this explains the difference. > I did not! It's ok to close a disk-library, but DosLib is in ROM, and Closing it is the same as adding NOP's to the code. Anyway, with a closelib it will be 60/96 bytes. Still shorter! If you don't agree with me, reply in Amiga.programmer... /$DR.HEX$