Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 SMI; site emacs.uucp Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!cca!emacs!joe From: joe@emacs.uucp (Joe Chapman) Newsgroups: net.lang.c Subject: Re: What does the compiler think I am doing here? (C bite?) Message-ID: <146@emacs.uucp> Date: Mon, 2-Sep-85 11:45:53 EDT Article-I.D.: emacs.146 Posted: Mon Sep 2 11:45:53 1985 Date-Received: Wed, 4-Sep-85 05:48:49 EDT References: <648@ihu1m.UUCP> <20@opus.UUCP> Organization: CCA Uniworks, Wellesley, MA Lines: 26 <> [ The discussion concerns putting statements like ``37;'' into your C code. I'm addressing the claim that no known compilers will generate code for this statement. ] Well, I once worked with a C compiler on a 68000 which interpreted statements consisting of a single number as 68K code. It was really great! You get stuff which looks like this: printf("hello, world!\n"); i++; 0x00ff12; if (i > 3) { And so forth. There was even a kernel include file which declared spl0 & co. like this: #define spl0() 0x0012345 Or whatever it was. -- -- Joseph Chapman decvax!cca!emacs!joe CCA Uniworks, Inc. emacs!joe@cca-unix.ARPA 20 William St. Wellesley, MA 02181 (617) 235-2600