> printf("%x ", data); > } > - ---- > > For a given input stream the output looks like: 2 4 8 10 20 40 82 106 > 20c 418 830 1060 20c0 4180 8300 600 c00 1800 3000 6000 c000 8000 0 0 >
printf("%lx",data); !!!!!!!!!!!!!!!!!!!! -> %lx !!!!!!!!!! check http://mspgcc.sourceforge.net/manual/x1109.html ~d