亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? part3.lst

?? STH11和PIC單片機(jī)匯編語(yǔ)言-源程序
?? LST
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
                      00207 ; if that interrupt is disabled.
                      00208 
                      00209 ; Check first for a timer overflow interrupt. The overflow bit gets
MPASM 03.20 Released            PART3.ASM   10-24-2002  12:35:27         PAGE  5


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00210 ; set even if the interrupt is disabled.
                      00211 
0007   1A8B           00212         btfsc   INTCON,T0IE
0008   282D           00213         goto    DoBit           ;we're in the middle of sending or
                      00214                                 ;receiving
                      00215 
                      00216 ; 10 cycles executed on entry to DoBit
                      00217 
                      00218 ; If not a timer overflow interrupt, check for external interrupt:
                      00219 
0009   1A0B           00220         btfsc   INTCON,INTE     ;RB0 is our receive line and it
000A   281D           00221         goto    StartRX         ;generates an interrupt on a high-
                      00222                                 ;to-low transition
                      00223 
                      00224 ; 12 cycles executed on entry to StartRX
                      00225 
                      00226 ; Else, must be something we don't care about:
                      00227 
                      00228         ;do nothing for now
                      00229 
                      00230 ; Restore the W and STATUS registers:
                      00231 
000B   0E12           00232 Restore swapf   SSave,W
000C   0083           00233         movwf   STATUS
000D   0E91           00234         swapf   WSave,F
000E   0E11           00235         swapf   WSave,W
                      00236 
000F   0009           00237         retfie
                      00238 
                      00239 ;------end Main Interrupt Routine------------------------------------
                      00240 
                      00241 
                      00242 ;------Subroutine SerSetup-------------------------------------------
                      00243 
0010                  00244 SerSetup
                      00245 
                      00246 ; set up the option register for internal counting, WDT disabled,
                      00247 ; no prescaler.
                      00248 
0010   0181           00249         clrf    TMR0
0011   1683           00250         bsf     STATUS,RP0
0012   0064           00251         clrwdt                  ;set bits in OPTION_REG to
0013   3088           00252         movlw   b'10001000'     ;enable internal clock counting,
Message[302]: Register in operand not in bank 0.  Ensure that bank bits are correct.
0014   0081           00253         movwf   OPTION_REG      ;disable watchdog timer.
0015   1283           00254         bcf     STATUS,RP0      ;switch to bank 0
                      00255 
                      00256 ; set the output line to idle (high)
                      00257 
0016   1485           00258         bsf     PORTA,_SER_OUT  ;set the output line to idle
                      00259                                 ;(high) state
                      00260 
0017   3001           00261         movlw   b'00000001'
MPASM 03.20 Released            PART3.ASM   10-24-2002  12:35:27         PAGE  6


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

0018   0086           00262         movwf   PORTB
                      00263 
                      00264 ; enable the external interrupt via RB0
                      00265 
0019   3090           00266         movlw   b'10010000'     ;set bits in INTCON to enable
001A   008B           00267         movwf   INTCON          ;external interrupt
                      00268 
                      00269 ; initialize the SerialReg:
                      00270 
001B   0190           00271         clrf    SerialReg
                      00272 
001C   0008           00273         return
                      00274 
                      00275 ;------end SetSetup--------------------------------------------------
                      00276 
                      00277 ;------Subroutine StartRX--------------------------------------------
                      00278 ;
                      00279 ; This subroutine is called by the main interrupt routine when an
                      00280 ; external interrupt on RB0 occurs. This means we're receiving the
                      00281 ; start bit for a character. We want to enable the external TMR0
                      00282 ; interrupt and prepare to receive the character.
                      00283 
001D                  00284 StartRX
                      00285 
                      00286 ; wait halfway through the bit to see if it's real:
                      00287 
001D   108B           00288         bcf     INTCON,INTF     ;clear the interrupt
001E   300C           00289         movlw   _StartRxDelay
001F   008C           00290         movwf   BitCount        ;this is the 15th instruction since
                      00291                                 ;the interrupt. Note--we're using
                      00292                                 ;BitCount for this loop purely for
                      00293                                 ;convenience. Usually it's used to
                      00294                                 ;actually count the bits we TX/RX.
                      00295 
0020   0B8C           00296 RXWait  decfsz  BitCount,F      ;this loop takes 3 times the initial
0021   2820           00297         goto    RXWait          ;value of BitCount clock cycles
                      00298         
                      00299 ; now we should be at the middle of the start bit. Is the input still
                      00300 ; low? If not, goto Restore and ignore this interrupt.
                      00301 
0022   1806           00302         btfsc   PORTB,_SER_IN
0023   280B           00303         goto    Restore
                      00304 
                      00305 ; if we get to here it must really be the start bit. Load TMR0,
                      00306 ; disable the external interrupt, and enable the TMR0 interrupt. 
                      00307 
                      00308 ; load up the appropriate delay to get us to the middle of the
                      00309 ; first bit:
                      00310 
0024   30AD           00311         movlw   _BitRxDelay
0025   0081           00312         movwf   TMR0            ;4 cycles from read of PORTB
0026   3020           00313         movlw   b'00100000'
0027   008B           00314         movwf   INTCON
MPASM 03.20 Released            PART3.ASM   10-24-2002  12:35:27         PAGE  7


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00315 
                      00316 ; set the SerialReg to indicate that the routines are busy getting
                      00317 ; a character:
                      00318 
0028   3002           00319         movlw   b'00000010'
0029   0090           00320         movwf   SerialReg
                      00321 
                      00322 ; initialize BitCount:
                      00323 
002A   3008           00324         movlw   8
002B   008C           00325         movwf   BitCount
                      00326 
                      00327 ; okay, now we return.
                      00328 
002C   280B           00329         goto    Restore
                      00330 
                      00331 ;------end StartRX---------------------------------------------------
                      00332 
                      00333 
                      00334 ;------DoBit---------------------------------------------------------
                      00335 ;
                      00336 ; sends or receives the next bit. Bits are sent/received from least
                      00337 ; to most significant bit.
                      00338 
002D                  00339 DoBit
                      00340 
                      00341 ; clear the TMR0 overflow interrupt flag:
                      00342 
002D   110B           00343         bcf     INTCON,T0IF
                      00344 
                      00345 ; Are we receiving?
                      00346 
002E   1910           00347         btfsc   SerialReg,2
002F   2840           00348         goto    Sending
                      00349 
                      00350 ; check to see if we're receiving the stop bit:
                      00351 
0030   088C           00352         movf    BitCount,F
0031   1903           00353         btfsc   STATUS,Z
0032   2839           00354         goto    GetStopBit
                      00355 
                      00356 ; if we get to here, we're in the middle of receiving. Get the next
                      00357 ; bit: (16 cycles to get to the next instruction from the start of
                      00358 ; the interrupt).
                      00359 
0033   0C06           00360         rrf     PORTB,W         ;rrf PORTB into W. This sets
                      00361                                 ;the carry bit if RB0 was high.
0034   0C8D           00362         rrf     RXChar,F        ;doing a rrf on RXChar brings
                      00363                                 ;in the carry bit to the MSB.
                      00364 
                      00365 ; Decrement the bit counter.
                      00366 
0035   038C           00367         decf    BitCount,F
MPASM 03.20 Released            PART3.ASM   10-24-2002  12:35:27         PAGE  8


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                      00368 
                      00369 ; reload TMR0 for the next interrupt, and
                      00370 ; go to the end of the interrupt routine.
                      00371 
0036   30AD           00372         movlw   _BitRxDelay     
0037   0081           00373         movwf   TMR0            ;21 cycles from start of interrupt
0038   280B           00374         goto    Restore
                      00375 
                      00376 ; if we get to here it's because we need to check for the stop bit.
                      00377 
0039                  00378 GetStopBit
0039   1C06           00379         btfss   PORTB,_SER_IN   ;is the RX line low? If so, it's not
003A   285A           00380         goto    Done            ;the stop bit. Otherwise, set the
003B   3001           00381         movlw   b'00000001'     ;SerialReg to show a character has
003C   0090           00382         movwf   SerialReg       ;been received
003D   080D           00383         movf    RXChar,W        ;copy the received character to RXBuff
003E   008E           00384         movwf   RXBuff
003F   285A           00385         goto    Done
                      00386                 
                      00387 ; We got here because we're sending.
                      00388 ; check to see if we're finished sending the stop bit:
                      00389 
0040                  00390 Sending
0040   1990           00391         btfsc   SerialReg,3
0041   285A           00392         goto    Done
                      00393 
                      00394 ; check to see if we need to send the stop bit:
                      00395 
0042   088C           00396         movf    BitCount,F
0043   1903           00397         btfsc   STATUS,Z        ;18th cycle
0044   2852           00398         goto    SendStopBit
                      00399 
                      00400 ; if we get to here, we're in the middle of sending. Send the next
                      00401 ; bit: (16 cycles to get to the next instruction from the start of
                      00402 ; the interrupt).
                      00403 
0045   0C8F           00404         rrf     TXChar,F        ;doing rrf on TXChar puts the
0046   1C03           00405         btfss   STATUS,C        ;least significant bit in the
0047   284B           00406         goto    SendZero        ;carry flag.
0048   0000           00407         nop
0049   1485           00408         bsf     PORTA,_SER_OUT  ;if carry is set, send a one.
004A   284E           00409         goto    EndDoBit        ;PORTA,1 is set on the 24th cycle
                      00410 
004B                  00411 SendZero
004B   1085           00412         bcf     PORTA,_SER_OUT  ;otherwise, send a zero. (24th cycle)
004C   0000           00413         nop                     ;nop's are for taking the same time
004D   0000           00414         nop                     ;to get to reloading TMR0 as for when

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩精品一区二区三区蜜桃| 最新久久zyz资源站| 亚洲午夜羞羞片| 成人精品一区二区三区四区 | 一区二区三区丝袜| 国产一区二区毛片| 欧美精品一区二区三区在线播放| 亚洲成人第一页| 日本久久一区二区三区| 中文字幕在线视频一区| 9色porny自拍视频一区二区| 欧美精品一区二区三区久久久| 久久激情综合网| 欧美日韩第一区日日骚| 午夜伊人狠狠久久| 日韩欧美一区中文| 国产综合久久久久久鬼色 | 国产不卡在线播放| 亚洲欧美日韩国产手机在线| 一本久久综合亚洲鲁鲁五月天| 伊人性伊人情综合网| 欧美性猛片aaaaaaa做受| 日日夜夜一区二区| 亚洲精品在线免费观看视频| 国内精品伊人久久久久av一坑| 国产婷婷色一区二区三区四区| 色综合久久综合网欧美综合网| 一区二区三区在线视频观看58| 欧美日韩精品一区二区天天拍小说 | 成人性生交大片免费看在线播放| 欧美国产日本韩| 精品少妇一区二区三区在线视频| 韩国中文字幕2020精品| 中文字幕日韩av资源站| 欧美视频在线一区二区三区 | 激情综合色丁香一区二区| 久久久久久久久久电影| 欧美日韩国产美| 处破女av一区二区| 琪琪久久久久日韩精品| 综合久久国产九一剧情麻豆| 精品久久久久久无| 欧美日韩精品二区第二页| 丁香天五香天堂综合| 日韩成人一区二区| 洋洋成人永久网站入口| 国产精品久久久久7777按摩| 亚洲精品在线观看视频| 欧美精品第一页| 欧美日韩在线播放| 91黄视频在线| 色综合久久综合网| 色婷婷av一区二区三区gif| 成人短视频下载| 粗大黑人巨茎大战欧美成人| 国产精品原创巨作av| 国产精品一区二区三区乱码| 免费成人小视频| 国产专区欧美精品| 国产东北露脸精品视频| 国产一区二区不卡| 国内久久精品视频| 国产99久久久国产精品潘金网站| 国产一区二区女| 一本久道中文字幕精品亚洲嫩| 亚洲精品乱码久久久久久| 激情图片小说一区| 久久男人中文字幕资源站| 日韩欧美国产三级| 精品三级av在线| 国产精品视频免费| 亚洲欧美另类图片小说| 人人精品人人爱| 成人精品免费网站| 欧美视频中文字幕| 欧美成人精品福利| 国产精品免费人成网站| 亚洲成av人综合在线观看| 精品在线免费观看| 色吊一区二区三区| 欧美xxxx老人做受| 亚洲午夜久久久久中文字幕久| 蜜桃视频一区二区| 色婷婷狠狠综合| 2021国产精品久久精品| 又紧又大又爽精品一区二区| 精品一区二区久久| 在线播放日韩导航| 欧美国产精品劲爆| 久久精品噜噜噜成人av农村| 在线观看亚洲精品视频| 中文一区在线播放| 久久精品国产秦先生| 欧美日韩一区国产| 亚洲一区二区视频| 一本一道综合狠狠老| 国产日韩v精品一区二区| 日韩有码一区二区三区| 欧美视频完全免费看| 亚洲欧洲精品一区二区三区不卡| 老汉av免费一区二区三区| 日韩一卡二卡三卡国产欧美| 午夜精品一区二区三区免费视频| 色天天综合久久久久综合片| 中文字幕在线不卡一区| 懂色av一区二区三区免费观看| 精品久久久久av影院| 麻豆精品新av中文字幕| 日韩欧美国产一区二区三区 | 欧美日韩国产小视频在线观看| 亚洲色欲色欲www| 欧美综合一区二区| 日韩电影在线观看电影| 亚洲精品在线三区| 不卡的看片网站| 亚洲精品日韩综合观看成人91| 色94色欧美sute亚洲线路二| 一区二区欧美视频| 3d动漫精品啪啪1区2区免费| 日韩综合小视频| 337p日本欧洲亚洲大胆精品| 成人性生交大片| 亚洲女同一区二区| ww亚洲ww在线观看国产| 成人ar影院免费观看视频| 香蕉成人啪国产精品视频综合网| 日韩欧美一二区| 99精品久久久久久| 九色综合国产一区二区三区| 亚洲国产精品二十页| 欧美理论电影在线| av午夜一区麻豆| 日本不卡1234视频| 国产精品久久久久aaaa| 精品国产第一区二区三区观看体验| 懂色av一区二区夜夜嗨| 天堂av在线一区| 亚洲美女免费视频| 精品日产卡一卡二卡麻豆| 色婷婷综合久久久| 东方欧美亚洲色图在线| 久久福利视频一区二区| 亚洲成av人片一区二区梦乃 | 色呦呦国产精品| 成人精品高清在线| 99在线热播精品免费| 激情小说欧美图片| 日本亚洲三级在线| 日韩精品一二三四| 五月天精品一区二区三区| 亚洲永久精品国产| 亚洲综合一区在线| 亚洲综合在线第一页| 亚洲午夜电影在线观看| 有码一区二区三区| 亚洲综合视频网| 亚洲一区在线观看免费观看电影高清| 久久久99精品免费观看| 中文字幕高清不卡| 国产精品女同一区二区三区| 国产精品久久久久aaaa樱花| 亚洲欧美日韩人成在线播放| 亚洲免费色视频| 香蕉加勒比综合久久| 精品一区二区三区视频| 国产精品一区二区在线看| kk眼镜猥琐国模调教系列一区二区| 成人小视频在线| 欧美色窝79yyyycom| 91精品国产综合久久香蕉麻豆| 日韩欧美国产wwwww| 日本一区二区动态图| 亚洲一本大道在线| 精品一区二区三区免费观看| 91在线码无精品| 精品福利一区二区三区| 亚洲欧洲成人av每日更新| 日本亚洲欧美天堂免费| 色综合av在线| 日韩精品中文字幕一区二区三区| 国产农村妇女毛片精品久久麻豆| 国产精品久久久久久久久免费樱桃 | 久久九九全国免费| 亚洲一区二区成人在线观看| 国产美女精品在线| 91精品国产91久久久久久最新毛片| 久久久精品一品道一区| 五月婷婷久久综合| 日本丶国产丶欧美色综合| 国产欧美一区二区精品婷婷| 丝袜美腿一区二区三区| 在线观看一区二区视频| 国产精品色一区二区三区| 国产美女视频一区| 精品免费一区二区三区| 奇米四色…亚洲| 这里只有精品免费| 亚洲成人自拍偷拍| 欧美图片一区二区三区| 一区二区三区国产|