1 /* saving "bits" test for mcs51/stack-auto.
5 #if defined(SDCC_mcs51)
9 bool manipulate_bits(bool x) using 2
14 bool complement(bool x)
24 #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))
48 #if defined(SDCC_mcs51)
49 void T2_isr (void) interrupt 5 using 2
51 //do not clear flag ET2 so it keeps interrupting !
54 manipulate_bits(true);