Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: C and BCD Message-ID: <4647@utzoo.UUCP> Date: Fri, 16-Nov-84 12:37:11 EST Article-I.D.: utzoo.4647 Posted: Fri Nov 16 12:37:11 1984 Date-Received: Fri, 16-Nov-84 12:37:11 EST References: <1911@pegasus.UUCP> Organization: U of Toronto Zoology Lines: 14 > If C was intended as a systems programming language, then it only seems > fair that it should be able to access all functions of the system, > including BCD on those machines which support it.... C does provide a mechanism for accessing all facilities of a system: it's called "call a function written in assembler". If you have ever looked at the instruction set of a "real" machine, you'll see why this is the only realistic way to tackle it. There are far too many bizarre and utterly machine-dependent oddities in *any* real system to expect C to incorporate them all. No systems programming language has *ever* attempted to do this, except by mechanisms that at least *looked* like function calls. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry