segmented memory models

John Honniball coredump at gifford.co.uk
Mon Aug 4 15:55:19 CDT 2008


Fred Cisin wrote:
> C actually insists that address 0 is an invalid address!

Which is one reason why ANSI C on the transputer is such an...
interesting, shall we say, variant of the language.  Address
0x00000000 is in the middle of the address space on a
transputer, due to the weird signed nature of addresses.
The compiler quietly changes 0 into 0x80000000 when it's
used as a pointer, so make sure your casts are OK!

-- 
John Honniball
coredump at gifford.co.uk


More information about the cctalk mailing list