Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!gatech!lll-lcc!csustan!rayz From: rayz@csustan.UUCP (R. L. Zarling) Newsgroups: net.micro.cbm Subject: Re: C power questions Message-ID: <114@csustan.UUCP> Date: Fri, 4-Jul-86 12:37:37 EDT Article-I.D.: csustan.114 Posted: Fri Jul 4 12:37:37 1986 Date-Received: Sat, 5-Jul-86 09:00:19 EDT References: <144@danews.UUCP> <60@hyper.UUCP> Reply-To: rayz@csustan.UUCP (R. L. Zarling) Distribution: na Organization: CSU, Stanislaus; Turlock, California Lines: 21 In article <60@hyper.UUCP> dean@hyper.UUCP (Dean Gahlon) writes: > One of the neat things available on their bulletin board is an >assembler that produces object code suitable for linking with C-produced >object code. If you have a modem, I'd check it out (after 11 PM, since >it's probably long distance). Thanks for the compliment; Mark Rinfret and I wrote it. If you want to save long distance charges, send me a disk and postpaid mailer: Ray Zarling / Dept. Comp. Sci. / CSU Stanislaus / Turlock, CA 95380 > Oh, yes; another question that nobody seems able to answer is what >the 'a' and 's' options on the compiler itself do. From a disassembly of the >compiler, it looks like they're stored in some odd location, but what's done >with them then, I don't know, and nobody else seems to, either. The compiler, by default, assigns storage class "register" to any variables which are declared without an explicit storage class. This, of course, is non-standard behavior, but is justified (?) by the fact that the C64 needs all the help it can get in terms of code compactness and runtime speed. The -a option changes this, so the compiler produces "auto" storage class by default (standard C), and -s is for "static".