Path: utzoo!utgpu!cs.utexas.edu!swrinde!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.134458.7625@cs.umu.se> Date: 4 May 91 13:44:58 GMT References: <1991May2.102554.8679@cs.umu.se> <1200@cbmger.UUCP> <21231@cbmvax.commodore.com> Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 25 In article <21231@cbmvax.commodore.com> bj@cbmvax.commodore.com (Brian Jackson) writes: >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. > >Not to mention absolutely no error checking. Hard to consider it >a "fully compliant" answer to the problem. The question should be >"how small can you make a -correct- 'hello world' ?" > What should I error-check? Perhaps somebody has removed dolib from ROM... And since the C-code was 62 bytes codesize, it couldn't have included any error checking either. Replies to amiga.programmer, please /$DR.HEX$