Система переривань мікроконтролера PIC16F84. Власні оброблювачі переривань, страница 5

0031 0000           00070         nop                     ;пустая команда

0032 0000           00071         nop                     ;пустая команда

0033 0000           00072         nop                     ;пустая команда

0034 0000           00073         nop                     ;пустая команда

0035 0000           00074         nop                     ;пустая команда

0036 1085           00075         bcf PORTA,1             ;сброс RA1

                    00076

0037 0806           00077 notRB4  movf PORTB,0            ;чтение состаяния порта В

0038 008D           00078         movwf oldportb          ;сохранение для следубщего сравнения

0039 100B           00079         bcf INTCON,RBIF         ;сброс флага прерывания

                    00080

003A 0008           00081         return                 

                    00082

                    00083         END                     ;конец программы

MPASM 02.20 Released             LAB5.ASM   5-4-2004  21:24:27         PAGE  3

SYMBOL TABLE

 LABEL                             VALUE

C                                 00000000

DC                                00000001

EEADR                             00000009

EECON1                            00000088

EECON2                            00000089

EEDATA                            00000008

EEIE                              00000006

EEIF                              00000004

F                                 00000001

FSR                               00000004

GIE                               00000007

INDF                              00000000

INTCON                            0000000B

INTE                              00000004

INTEDG                            00000006

INTF                              00000001

IRP                               00000007

NOT_PD                            00000003

NOT_RBPU                          00000007

NOT_TO                            00000004

OPTION_REG                        00000081

PCL                               00000002

PCLATH                            0000000A

PORTA                             00000005

PORTB                             00000006

PS0                               00000000

PS1                               00000001

PS2                               00000002

PSA                               00000003

RBIE                              00000003

RBIF                              00000000

RD                                00000000

RP0                               00000005

RP1                               00000006

STATUS                            00000003

T0CS                              00000005

T0IE                              00000005

T0IF                              00000002

T0SE                              00000004

TMR0                              00000001

TRISA                             00000085

TRISB                             00000086

T_STATUS                          0000000F

T_W                               0000000E

W                                 00000000

WR                                00000001

WREN                              00000002

WRERR                             00000003

Z                                 00000002

_CP_OFF                           00003FFF

_CP_ON                            0000000F

_HS_OSC                           00003FFE

_LP_OSC                           00003FFC

MPASM 02.20 Released             LAB5.ASM   5-4-2004  21:24:27         PAGE  4

SYMBOL TABLE

  LABEL                             VALUE

_PWRTE_OFF                        00003FFF

_PWRTE_ON                         00003FF7

_RC_OSC                           00003FFF

_WDT_OFF                          00003FFB

_WDT_ON                           00003FFF

_XT_OSC                           00003FFD