#if 0 cd [file dirname [info script]] source makefile.tcl return #endif #include "type.h" #include "io.h" #include "zf.h" inline int zf() { (*(Zf*)0x7c)=8; (*(Zf*)0x7c)=8; return 0; } int zfoo() { return zf(); } struct A { //unsigned a; unsigned a[0]; }; struct B : public A { unsigned b; }; struct C { A a; unsigned c; }; int toto() { volatile int a=sizeof(A); volatile int b=sizeof(B); volatile int c=sizeof(C); return a+b+c; } int test() { register unsigned short reg=1; reg<<=4; asm("rolw $8,%0": "=r" (reg): "0" (reg) ); return reg; }