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

Re: Low-level vs. High-level programming



"Paul Schlyter" <pausch@saaf.se> wrote in message
news:bd696r$15en$1@merope.saaf.se...
>     unsigned int memory_address = <address_of_memory_mapped_HW-device>;

That's fairly ugly, and isn't guaranteed to work, since there's no
requirements that ints be as wide as pointers.  If memory_address were a
void*, it would be quite kosher.

--
White Flame (aka David Holz)
http://www.white-flame.com/
(spamblock in effect)