comp.lang.ada
 help / color / mirror / Atom feed
From: diamond@tkou02.enet.dec.com (diamond@tkovoa)
Subject: Re: Sizes of executables from Unix compilers
Date: 7 Jun 90 03:57:27 GMT	[thread overview]
Message-ID: <1775@tkou02.enet.dec.com> (raw)
In-Reply-To: 1990Jun6.230600.4736@ux1.cso.uiuc.edu

In article <1990Jun6.230600.4736@ux1.cso.uiuc.edu> mcdonald@aries.scs.uiuc.edu (Doug McDonald) writes:
>In article <1700@enea.se> sommar@enea.se (Erland Sommarskog) writes:
>>Michael Feldman (mfeldman@seas.gwu.edu) gives the sizes of some
>>"hello world" programs [deleted]
>>I don't think this is a language issue, but one of operating system.
>Perhaps. Let me add:
>assembler(IBM-PC)    22
>C(IBM-PC)         3-8000 depending
>Does anybody recall how many (decimal digits, not bytes) it would be
>on an IBM 1620 -  my guess would be 23 or 24 decimal digits (5 bits
>per decimal digit). (This would, of course be machine language :-), 

Awright, you asked for it.
It's impossible.
OK, here goes for a "HELLO WORLD" program (which is possible in upper
case), and I've forgotten the typewriter control digit for carriage
return so I put a ? in the listing below.  Also there's no record
mark in ASCII, so I put a # in the listing.
locn.  instruction   mnemonic
00000  360002700100  WATY 27 (write alpha to ty, starting locn. 00026/00027)
00012  34000000010?  RCTY    (return carriage on typewriter)
00024  484845535356  H2      (halt)  Note that the addresses are ignored
         ||||||||||                  in a halt instruction, so we start
        //////////                   using that space for data instead of
       ||||||||||                    wasting it.
00026  48455353560066565953440#   DAC 12,HELLO WORLD@  (define alpha const)
So you would just type in:
36000270010034000000010?4848455353560066565953440#
Looks like fifty digits.

Typical software management here, underestimated by a factor of 2.

-- 
Norman Diamond, Nihon DEC     diamond@tkou02.enet.dec.com
Proposed group comp.networks.load-reduction:  send your "yes" vote to /dev/null.

  reply	other threads:[~1990-06-07  3:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-06-04 22:35 Sizes of executables from Unix compilers Michael Feldman
1990-06-06  6:37 ` Erland Sommarskog
1990-06-06 23:06   ` Doug McDonald
1990-06-07  3:57     ` diamond@tkovoa [this message]
1990-06-09 15:26   ` Sizes of executables from (UNIX) VMS compilers tdhammer
1990-06-11 14:47     ` David Kassover
1990-06-11 16:43       ` Paul A. Varner
1990-06-08 21:32 ` Sizes of executables from Unix compilers arny.b.engelson
1990-06-09  4:01   ` Michael Feldman
1990-06-10  6:46   ` Sizes of executables from VMS (was UNIX) Compilers RCAPENER
1990-06-11 14:56     ` arny.b.engelson
1990-06-12 22:05   ` Sizes of executables from Unix compilers Erland Sommarskog
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox