1 /* saving "bits" test for mcs51/stack-auto.
5 #if defined(__SDCC_mcs51)
10 manipulate_bits (bool x
) __using (2)
25 #if defined(__SDCC_mcs51)
26 //enable the interrupt and set it
31 //this will pass b0 cleared, test whether it will arrive cleared
32 if (complement(false))
47 #if defined(__SDCC_mcs51)
49 T2_isr (void) __interrupt (5) __using (2)
51 //do not clear flag ET2 so it keeps interrupting !
54 manipulate_bits (true);