3 Life Range problem with
4 - uninitialized variable
7 LR problem hits all ports, but this test is mcs51 specific
12 unsigned char ttt[] = {0xff, 1};
15 #if !defined(PORT_HOST)
16 # pragma disable_warning 84
19 unsigned char orsh (void)
22 for (i = 0; i < sizeof(ttt); i++)
27 unsigned char orsh1 (void)
31 for (j = 0; j < sizeof(ttt); j++)
33 for (i = 0; i < sizeof(ttt); i++)
45 ASSERT(orsh() == 0xff);
46 ASSERT(orsh1() == 0xff);