#include REG52.h char found1=0; char found2=0; char countABC=0; char countXYZ=0; void searchABCXYZ () interrupt 4 { if (RI==1) { if (SBUF=='A') { found1=1; } else if ((SBUF=='B')&& (found1==1)) { found1=2; } else if ((SBUF=='C')&& (found1==2)) { countABC++; found1=0; } ...