pointer -> long conversion - (nf)
The WITNESS
bsafw at ncoast.UUCP
Tue Jul 31 00:18:12 AEST 1984
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.
More information about the Comp.lang.c
mailing list