Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!cwruecmp!atvax!ncoast!bsafw From: bsafw@ncoast.UUCP (The WITNESS) Newsgroups: net.lang.c Subject: Re: pointer -> long conversion - (nf) Message-ID: <208@ncoast.UUCP> Date: Mon, 30-Jul-84 10:18:12 EDT Article-I.D.: ncoast.208 Posted: Mon Jul 30 10:18:12 1984 Date-Received: Sat, 4-Aug-84 01:30:24 EDT References: <30@ism780b.UUCP> Organization: North Coast XENIX, Cleveland Lines: 10 What he said is VERY implementation dependent -- the 68000 is a bit screwy. To wit: the program counter is 4 bytes and only uses the low three, and there is a "zero page" addressing mode that extends from 0x0 to 0x7fff AND from 0xff8000 to 0xffffff (sign-extended word quantity). THAT'S why it worked. But I wouldn't want to port it to a VAX. -- Brandon Allbery: decvax!cwruecmp{!atvax}!bsafw 6504 Chestnut Road, Independence, OH 44131 Witness, n. To watch and learn, joyously.