lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Tue, 8 Mar 2011, Sean Conner wrote:
> It was thus said that the Great Sam Roberts once stated:
> >
> > While ANSI allows sizeof(void (*)()) to be > sizeof(void*), its pretty
> > unusual (I've never seen it).
>   You do have to go back to the MS-DOS days (say, mid-80s, early 90s) for
> this to be true.

There are other cases such as PICs where the code address space is larger
than the data address space. There are also odd cases (e.g. PDP11) where
the pointers are the same size but the the same address refers to
different banks of memory depending on whether it is used for code or

f.anthony.n.finch  <>
Trafalgar: Cyclonic at times in southwest, otherwise mainly easterly or
southeasterly, backing northeasterly in far northwest, 5 to 7, occasionally
gale 8 in north and east. Moderate or rough. Thundery showers. Good,
occasionally poor.