SARGON%UMass.BITNET@wiscvm.wisc.edu (12/20/86)
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 <whatever you celebrate>