A brushless DC motor controller in PIC asm.