TCCR1A, TCCR1B, ... , SREG
Are references to AVR hardware registers. Those registers do not exist on the pic32.
--- bill