equal
deleted
inserted
replaced
19 printf("-----------------------------------------------\n\n"); |
19 printf("-----------------------------------------------\n\n"); |
20 |
20 |
21 // text bis end ausgeben |
21 // text bis end ausgeben |
22 for (step = &etext; step < &end; step++) { |
22 for (step = &etext; step < &end; step++) { |
23 printf("%p: ", step); |
23 printf("%p: ", step); |
24 if (isalnum(*step)) putc(*step, stdout); |
24 if (isalnum(*step)) putchar(*step); |
25 else printf("<%02x>", *step); |
25 else printf("<%02x>", *step); |
26 puts(""); |
26 putchar('\n'); |
27 } |
27 } |
28 |
28 |
29 //alles nach end ausgeben: |
29 //alles nach end ausgeben: |
30 step = &end; |
30 step = &end; |
31 while (1) { |
31 while (1) { |
32 printf("%p: ", step); |
32 printf("%p: ", step); |
33 if (isalnum(*step)) putc(*step, stdout); |
33 if (isalnum(*step)) putchar(*step); |
34 else printf("<%02x>", *step); |
34 else printf("<%02x>", *step); |
35 puts(""); |
35 putchar('\n'); |
36 step++; |
36 step++; |
37 } |
37 } |
38 |
38 |
39 //damit der compiler das nicht weg optimiert |
39 //damit der compiler das nicht weg optimiert |
40 printf("%s%d", value_string, value_int); |
40 printf("%s%d", value_string, value_int); |