typedef void (* vm_inst)(); vm_inst *ip; long *sp; void vm() { for (;;) { vm_inst inst=*ip++; inst(); } } void add() { sp[1] += sp[0]; sp++; }