Watchdog ISR in assembly language

rewiting digitalWrite (and other core functions) in asm(" ").

C is not the problem. There has been extensive discussion on speeding up digitalWrite and friends; search the forum for "digitalwritefast"...