Hi,

why does mspgcc uses

#define NULL 0

?

Why not 0x6000 like on the Honeywell-Bull mainframes or another value like 
0xffff or an address where is noting in every msp430?

The value 0 makes it a little complicated to use the first 16 bit (where IE1 + 
(IE2<<8) are) e. g. as an interrupt vector (C-FAQ 5.19).
It's not important but because the standard (C99) does say nothing about the 
value of macros like NULL; it's implementation defined. 
But there must be a reason why the NULL macro is expended to 0 and i would like 
to know why ;-)

By the way: thanks for the answers to the standards :-)

Rolf F.



Reply via email to