Mercurial > hg > CbC > old > device
view test/cext.c @ 585:a5b902b20300 ia32-no-rname
ia32 reconfigure end (correct?)
author | kono |
---|---|
date | Wed, 18 Jan 2006 12:26:48 +0900 |
parents | a379da780856 |
children | 2a4a40168fa4 |
line wrap: on
line source
int printf(const char *format, ...); unsigned int u; main() { int i,k; unsigned uk; for(i=-3;i<4;i++) { k = (char) i; uk = (unsigned char) i; printf("#0011:%d %u\n",k,uk); k = (short) i; uk = (unsigned short) i; printf("#0014:%d %u\n",k,uk); } u = (unsigned) -23432; printf("#0018:%d\n",u/(8048+5)); return 0; }