PIC C interrupt using #int_global
-
Hi all, pleeease help me!! I need to shave some time off of the compiler generated interrupt code. In the code below (#int_gobal with compiler generated interrupt code within it) this shoul compile then work the same as it previously did but the compiler stops on '03.5', this is the status register bit 5 so i tryed 'BTFSC STATUS,5' but that didnt work either. Im very confused, please help me. #int_global isr() { // Will be programmed at location 4 #asm BTFSC 03.5 GOTO 00A MOVWF 25 SWAPF 03,W MOVWF 26 GOTO 00F ........ etc .... #endasm }:(( :(( :confused: An Expert is somone who has previously made ALL the Mistakes, I dream of this day. - Lucky
-
Hi all, pleeease help me!! I need to shave some time off of the compiler generated interrupt code. In the code below (#int_gobal with compiler generated interrupt code within it) this shoul compile then work the same as it previously did but the compiler stops on '03.5', this is the status register bit 5 so i tryed 'BTFSC STATUS,5' but that didnt work either. Im very confused, please help me. #int_global isr() { // Will be programmed at location 4 #asm BTFSC 03.5 GOTO 00A MOVWF 25 SWAPF 03,W MOVWF 26 GOTO 00F ........ etc .... #endasm }:(( :(( :confused: An Expert is somone who has previously made ALL the Mistakes, I dream of this day. - Lucky
I asked you in the C++ forum to post the description of the BTFSC operand. I think you´re just not giving the good parameter for this operand, otherwise it would compile without problem. And pls do not cross post, that will only make people go away from you. ~RaGE();