annotate test/void_code.c @ 748:c2c709727221

i64 continue... basic.s assembled.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 13 Nov 2010 22:39:40 +0900
parents a379da780856
children 5313ed059cee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
467
32737bad7489 fix list/tag interference
kono
parents: 439
diff changeset
1 int printf(const char *format, ...);
32737bad7489 fix list/tag interference
kono
parents: 439
diff changeset
2
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
3 main()
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
4 {
439
65e379ba36b8 *** empty log message ***
kono
parents: 438
diff changeset
5 int i;
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
6 for(;;) {
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
7 printf("#0006:aho\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
8 break;
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
9 }
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
10 do printf("#0009:aho\n"); while(0);
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
11 if (0)
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
12 printf("#0011:a\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
13 if (0)
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
14 printf("#0013:a\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
15 else
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
16 printf("#0015:b\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
17 if (1)
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
18 printf("#0017:a\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
19 else {
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
20 printf("#0019:b\n");
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
21 printf("#0020:b\n");
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
22 }
439
65e379ba36b8 *** empty log message ***
kono
parents: 438
diff changeset
23 if (0)
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
24 printf("#0023:a\n");
439
65e379ba36b8 *** empty log message ***
kono
parents: 438
diff changeset
25 else if (0 && i) {
491
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
26 printf("#0025:bi\n");
a379da780856 cond signed/unsigned
kono
parents: 467
diff changeset
27 printf("#0026:bi\n");
439
65e379ba36b8 *** empty log message ***
kono
parents: 438
diff changeset
28 }
438
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
29 return 0;
626d705471d5 Unexecuted code in conditional. Lazy jmp code generation.
kono
parents:
diff changeset
30 }