Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!SARGON%UMass.BITNET@wiscvm.wisc.edu From: SARGON%UMass.BITNET@wiscvm.wisc.edu Newsgroups: comp.lang.c Subject: Cyber 170s... Message-ID: <1672@brl-adm.ARPA> Date: Fri, 19-Dec-86 20:10:15 EST Article-I.D.: brl-adm.1672 Posted: Fri Dec 19 20:10:15 1986 Date-Received: Sat, 20-Dec-86 03:00:33 EST Sender: news@brl-adm.ARPA Lines: 18 Perhaps the difference between using '-' and '~' relates to the fact that you are trying to create two different entities (0 and ~0) logically whereas 0 and -0 are the same numerically. Seems irrelavent either way.. Also, while Im not aware of any implementations of C on a 170 series machine I do know that APascal (ascii version of Pascal-6000) represents characters as 7 bits, allowing 8 per word. As the machine has no character instructions (we'll ignore CMU) so converting a character pointer to Word_Address and Character_Index is much simpler with a mask and a shift of 3 bits then pulling odd shift/add/mask/munge to divide by 7, and with an 18 bit address range packing 4 per word wipes away what little memory you have.. Of course, CDC has moved into the world of 8 bit characters and 64 bit words with the 180 series, so again, its all pretty irrelavent. -Steve I know this is wasted net time, but does anyone have a PD C compiler for a 170 series machine? Didnt think so..... btw, MERRY