9 volatile unsigned char p;
10 unsigned char i_result[3];
17 static unsigned char c = '?';
26 /* this BBlock _case_0_0:
28 - jumps to the successor "_swBrk_0" */
30 i = 42; /* fixed: Absent in "main.asm" */
35 - has the exit block "_swBrk_0"
36 sdcc inserts a new BBlock "loopExitLbl" before "_swBrk_0".
37 "loopExitLbl" becomes the new successor for the exit blocks of the while loop.
38 In "loopExitLbl" i can be restored without interference from
40 while (c != 'x' && i < 9 )
45 i = 24; /* fixed: Absent in "main.asm" */
61 while (--count && *first && *first == *last) {
66 return( *first - *last );
73 ASSERT(i_result[0] == 42);
74 ASSERT(i_result[1] == 9);
75 ASSERT(i_result[2] == 24);
77 ASSERT(_strncmp ("SDCC is great", "SDCC is buggy", sizeof("SDCC is" )) == 0);
78 ASSERT(_strncmp ("SDCC is great", "SDCC is buggy", sizeof("SDCC is ")) != 0);