1 /** Test register bank allocation for the "using" keyword.
2 using: no_proto, impl, both
8 #if defined (SDCC_mcs51) && defined (SDCC_MODEL_SMALL)
12 void my_isr (void) interrupt (1) using (1);
14 void my_isr (void) interrupt (1);
20 void my_isr (void) interrupt (1) using (1)
22 array[array[0]] = 1; //generate some register pressure
29 #if defined (SDCC_mcs51) && defined (SDCC_MODEL_SMALL)
30 ASSERT ((unsigned char)(&array[0]) >= 0x10);
31 ASSERT ((unsigned char)&__numTests >= 0x10);