int main(int argc, char **argv) { jmp_buf env; int sj; int i, j, k, l; if (argc != 5) { fprintf(stderr, "usage: sj2 i j k l\n"); return -1; } sj = setjmp(env); if (sj != 0) { printf("Error -- bad value of i (%d), j (%d), k (%d), l (%d)\n", i, j, k, l); return -1; } i = atoi(argv[1]); j = atoi(argv[2]); k = atoi(argv[3]); l = atoi(argv[4]); printf("proc_1(%d, %d, %d, %d) = %d\n", i, j, k, l, proc_1(env, i, j, k, l)); return 0; }
void main () /* Takes no parameters. */ { int loc1; loc1 = 404; proc_1 (loc1); }
void start () /* Takes no parameters. * Unknown calling convention. * Contains instructions not normally used by compilers. * Contains coprocessor instructions. */ { int loc1; int loc2; /* al */ int loc3; /* bx */ int loc4; /* sp */ int loc5; /* bp */ int loc6; /* ax */ char loc7; /* al */ loc2 = 19; loc3 = loc4; loc5 = 0xfe00; for (;;) { loc1 = 0x400; HLI_POP loc1 do { proc_1 ((loc6 + 1)); HLI_POP loc1 *loc3 = ! (*loc3); proc_2 ((loc1 + 150), (loc6 + 1)); HLI_POP loc1 loc7 = proc_1 (4); HLI_POP loc1 if (loc2 != 1) { loc1 = (loc1 + 320); } else { } } while ((loc1 < loc5)); } /* end of loop */ }
void main () /* Takes no parameters. * High-level language prologue code. * Unknown calling convention. */ { long loc1; long loc2; printf ("enter number of iterations "); scanf ("%ld", &loc0); printf ("executing %ld iterations\n", loc2); loc1 = 1; while ((loc1 <= loc2)) { proc_1 (); loc1 = (loc1 + 1); } /* end of while */ printf ("finished\n"); }
void start () /* Takes no parameters. * Unknown calling convention. * Contains instructions not normally used by compilers. */ { int loc1; int loc2; /* ax */ int loc3; /* si */ int loc4; /* cx */ do { loc1 = (loc1 + 1); do { loc2 = (loc2 ^ *loc3); } while (//*failed*//); HLI_POP loc4 HLI_POP loc1 } while ((proc_1 () == 128)); }
void start () /* Takes no parameters. * Unknown calling convention. * Contains instructions not normally used by compilers. */ { int loc1; /* di */ int loc2; /* si */ int loc3; /* ax */ int loc4; /* al */ long loc5; /* dx:ax */ loc1 = 360; loc2 = *loc1; do { loc3 = 0; loc4 = *loc2; proc_1 ((loc3 << 4)); loc5 = (0x3e8 * 100); } while ((--loc4 != 0)); }