PIC
Assembler code
CODE:0004
CODE:0004 ; =============== S U B R O U T I N E =======================================
CODE:0004
CODE:0004 ; Interrupt Vector
CODE:0004
CODE:0004 ; public ISR
CODE:0004 ISR:
CODE:0004 movlp 0
CODE:0005 btfss BANK0:INTCON, T0IF
CODE:0006 b loc_CODE_8
CODE:0007 b loc_CODE_9
CODE:0008 ; ---------------------------------------------------------------------------
CODE:0008
CODE:0008 loc_CODE_8: ; CODE XREF: ISR+2↑j
CODE:0008 b loc_CODE_1A
CODE:0009 ; ---------------------------------------------------------------------------
CODE:0009
CODE:0009 loc_CODE_9: ; CODE XREF: ISR+3↑j
CODE:0009 movlb 0
CODE:000A movfw byte_DATA_24
CODE:000B xorlw 3
CODE:000C bnz loc_CODE_F
CODE:000E b loc_CODE_10
CODE:000F ; ---------------------------------------------------------------------------
CODE:000F
CODE:000F loc_CODE_F: ; CODE XREF: ISR+8↑j
CODE:000F b loc_CODE_14
CODE:0010 ; ---------------------------------------------------------------------------
CODE:0010
CODE:0010 loc_CODE_10: ; CODE XREF: ISR+A↑j
CODE:0010 movlp 5
CODE:0011 ; assume pclath = 5
CODE:0011 call sub_CODE_516
CODE:0012 movlp 0
CODE:0013 ; assume pclath = 0
CODE:0013 b loc_CODE_14
Last updated