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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? start900.a51

?? 針對philips的51單片機LPC931的具體應用的例子。實現對uart, spi, i2c等硬件資源的操作。還有針對小內存單片機操作系統的實現。
?? A51
字號:
;------------------------------------------------------------------------------
;  This file is part of the C51 Compiler package
;  Startup Code for the Philips LPC9xx devices 
;  Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
;------------------------------------------------------------------------------
;  START900.A51:  This code is executed after processor reset.
;  You may add this file to a uVision2 project.
;
;  To translate this file use Ax51 with the following invocation:
;
;     Ax51 START900.A51
;
;  To link the modified START900.OBJ file to your application use the following
;  Lx51 invocation:
;
;     Lx51 <your object file list>, START900.OBJ <controls>
;
;------------------------------------------------------------------------------
;
;  User-defined Power-On Initialization of Memory
;
;  With the following EQU statements the initialization of memory
;  at processor reset can be defined:
;
;               ; the absolute start-address of IDATA memory is always 0
IDATALEN        EQU     100H    ; the length of IDATA memory in bytes.
;
XDATASTART      EQU     0H      ; the absolute start-address of XDATA memory
XDATALEN        EQU     0H      ; the length of XDATA memory in bytes.
;
;  Notes:  The IDATA space overlaps physically the DATA and BIT areas of the
;          LPC9xx device.
;
;------------------------------------------------------------------------------
;
;  Reentrant Stack Initilization
;
;  The following EQU statements define the stack pointer for reentrant
;  functions and initialized it:
;
;  Stack Space for reentrant functions in the SMALL model.
IBPSTACK        EQU     0       ; set to 1 if small reentrant is used.
IBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
;
;  Stack Space for reentrant functions in the LARGE model.      
XBPSTACK        EQU     0       ; set to 1 if large reentrant is used.
XBPSTACKTOP     EQU     01FFH+1 ; set top of stack to highest location+1.
;
;  Stack Space for reentrant functions in the COMPACT model.    
PBPSTACK        EQU     0       ; set to 1 if compact reentrant is used.
PBPSTACKTOP     EQU     0FFH+1  ; set top of stack to highest location+1.
;
;------------------------------------------------------------------------------
;
;  Setup LPC9xx Configuration Register (UCFG1, BOOTVEC, BOOTSTAT, SEC0..SEC7)
;
; Oscillator Configuration (UCFG1.0 .. UCFG1.2)
; FOSC       Val  Description
; ----       ---  -----------
FOSC EQU 3  ; 0 = high frequency crystal or resonator (4MHz .. 20MHz)
;           ; 1 = medium frequency crystal or resonator (100kHz .. 4MHz)
;           ; 2 = low frequency crystal (20kHz .. 100kHz)
;           ; 3 = internal RC oscillator (7.373MHz +/- 2.5%) (default on unprogrammed part)
;           ; 4 = internal Watchdog oscillator (400kHz +20/-30%)
;           ; 7 = external clock input on X1
;
; Watchdog Saftey Enable (UCFG1.4)
; WDSE       Val  Description
; ----       ---  -----------
WDSE EQU 0  ; 0 = user can set WDCLK to select clock source(default on unprogrammed part) 
;           ; 1 = Always use WDCLK, WDCON and WDL can be written once, WDT is always running 
;
; Brownout Detect Enable (UCFG1.5)
; BOE       Val  Description
; ----       ---  -----------
BOE EQU 1   ; 0 = 
;           ; 1 = (default on unprogrammed part) 
;
; Reset PIN disable (UCFG1.6)
; RPD        Val  Description
; ---        ---  -----------
RPD  EQU 1  ; 0 = P1.5 will act as reset pin (low active)
;           ; 1 = P1.5 can be used as input PIN (default on unprogrammed part)
;           
; Watchdog timer enable (UCFG1.7)
; WDTE       Val  Description
; ----       ---  -----------
WDTE EQU 0  ; 0 = watchdog disabled WDSE has no effect (default on unprogrammed part)
;           ; 1 = watchdog enabled
;
; BOOTVECTOR (BOOTVEC)
; BOOTVEC    Val  Description
; ----       ---  -----------
BOOTVEC EQU 0x1E  ; points to ISP entry point (default on unprogrammed part)
;
; BOOTSTATUS (BOOTSTAT)
; BOOTSTAT   Val  Description
; ----       ---  -----------
BOOTSTAT EQU 0x01 ; enables ISP entry on power-up (default on unprogrammed part)
;
; Flash Security Configuration (SEC0.0 .. SEC0.2)
; SEC0       Val  Description
; ----       ---  -----------
SEC0 EQU 0  ; 0 = no security on sector 0 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 0
;           ; 2 = program/erase disabled on sector 0
;           ; 3 = MOVC disabled, program/erase disabled on sector 0 
;           ; 4 = IAP/ISP global erase disabled on sector 0
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 0
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 0
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 0
;
; Flash Security Configuration (SEC1.0 .. SEC1.2)
; SEC1       Val  Description
; ----       ---  -----------
SEC1 EQU 0  ; 0 = no security on sector 1 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 1
;           ; 2 = program/erase disabled on sector 1
;           ; 3 = MOVC disabled, program/erase disabled on sector 1 
;           ; 4 = IAP/ISP global erase disabled on sector 1
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 1
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 1
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 1
;
; Flash Security Configuration (SEC2.0 .. SEC2.2)
; SEC2       Val  Description
; ----       ---  -----------
SEC2 EQU 0  ; 0 = no security on sector 2 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 2
;           ; 2 = program/erase disabled on sector 2
;           ; 3 = MOVC disabled, program/erase disabled on sector 2 
;           ; 4 = IAP/ISP global erase disabled on sector 2
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 2
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 2
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 2
;
; Flash Security Configuration (SEC3.0 .. SEC3.2)
; SEC3       Val  Description
; ----       ---  -----------
SEC3 EQU 0  ; 0 = no security on sector 3 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 3
;           ; 2 = program/erase disabled on sector 3
;           ; 3 = MOVC disabled, program/erase disabled on sector 3 
;           ; 4 = IAP/ISP global erase disabled on sector 3
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 3
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 3
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 3
;
; Flash Security Configuration (SEC4.0 .. SEC4.2)
; SEC4       Val  Description
; ----       ---  -----------
SEC4 EQU 0  ; 0 = no security on sector 4 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 4
;           ; 2 = program/erase disabled on sector 4
;           ; 3 = MOVC disabled, program/erase disabled on sector 4 
;           ; 4 = IAP/ISP global erase disabled on sector 4
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 4
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 4
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 4
;
; Flash Security Configuration (SEC5.0 .. SEC5.2)
; SEC5       Val  Description
; ----       ---  -----------
SEC5 EQU 0  ; 0 = no security on sector 5 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 5
;           ; 2 = program/erase disabled on sector 5
;           ; 3 = MOVC disabled, program/erase disabled on sector 5 
;           ; 4 = IAP/ISP global erase disabled on sector 5
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 5
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 5
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 5
;
; Flash Security Configuration (SEC6.0 .. SEC6.2)
; SEC6       Val  Description
; ----       ---  -----------
SEC6 EQU 0  ; 0 = no security on sector 6 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 6
;           ; 2 = program/erase disabled on sector 6
;           ; 3 = MOVC disabled, program/erase disabled on sector 6 
;           ; 4 = IAP/ISP global erase disabled on sector 6
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 6
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 6
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 6
;
; Flash Security Configuration (SEC7.0 .. SEC7.2)
; SEC7       Val  Description
; ----       ---  -----------
SEC7 EQU 0  ; 0 = no security on sector 7 (default on unprogrammed part)
;           ; 1 = MOVC disabled on sector 7
;           ; 2 = program/erase disabled on sector 7
;           ; 3 = MOVC disabled, program/erase disabled on sector 7 
;           ; 4 = IAP/ISP global erase disabled on sector 7
;           ; 5 = MOVC disabled, IAP/ISP global erase disabled on sector 7
;           ; 6 = program/erase disabled, IAP/ISP global erase disabled on sector 7
;           ; 7 = MOVC disabled, program/erase disabled, IAP/ISP global erase disabled on sector 7
;
;------------------------------------------------------------------------------


                NAME    ?C_STARTUP

_UCFG1 EQU FOSC OR (WDSE SHL 4) OR (BOE SHL 5) OR (RPD SHL 6) OR (WDTE SHL 7)
_UCFG2 EQU 0

                CSEG    AT      0FF00H
                DB      _UCFG1          ; place UCFG Bytes in hex file
                DB      _UCFG2
                DB      BOOTVEC
                DB      BOOTSTAT
                DB      SEC0
                DB      SEC1
                DB      SEC2
                DB      SEC3
                DB      SEC4
                DB      SEC5
                DB      SEC6
                DB      SEC7

?C_C51STARTUP   SEGMENT   CODE
?STACK          SEGMENT   IDATA

                RSEG    ?STACK
                DS      1

                EXTRN CODE (?C_START)
                PUBLIC  ?C_STARTUP

                CSEG    AT      0
?C_STARTUP:     JMP     STARTUP1

                RSEG    ?C_C51STARTUP

STARTUP1:

IF IDATALEN <> 0
                MOV     R0,#IDATALEN - 1
                CLR     A
IDATALOOP:      MOV     @R0,A
                DJNZ    R0,IDATALOOP
ENDIF


IF XDATALEN <> 0
                MOV     DPTR,#XDATASTART
                MOV     R7,#LOW (XDATALEN)
  IF (LOW (XDATALEN)) <> 0
                MOV     R6,#(HIGH (XDATALEN)) +1
  ELSE
                MOV     R6,#HIGH (XDATALEN)
  ENDIF
                CLR     A
XDATALOOP:      MOVX    @DPTR,A
                INC     DPTR
                DJNZ    R7,XDATALOOP
                DJNZ    R6,XDATALOOP
ENDIF


IF IBPSTACK <> 0
EXTRN DATA (?C_IBP)

                MOV     ?C_IBP,#LOW IBPSTACKTOP
ENDIF

IF XBPSTACK <> 0
EXTRN DATA (?C_XBP)

                MOV     ?C_XBP,#HIGH XBPSTACKTOP
                MOV     ?C_XBP+1,#LOW XBPSTACKTOP
ENDIF

IF PBPSTACK <> 0
EXTRN DATA (?C_PBP)
                MOV     ?C_PBP,#LOW PBPSTACKTOP
ENDIF

                MOV     SP,#?STACK-1
                JMP     ?C_START

                END

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av在线看| 成人黄色在线看| 91精品欧美久久久久久动漫| 99riav一区二区三区| 国产成a人亚洲精品| 国产高清亚洲一区| 成人亚洲一区二区一| 国产99久久久国产精品| 国产成人精品免费视频网站| 国产精品一二一区| 丁香亚洲综合激情啪啪综合| 色婷婷狠狠综合| 欧美日韩国产一二三| 91精品国产综合久久精品麻豆| 欧美视频你懂的| 欧美一级xxx| 欧美激情一区二区三区四区| 中文字幕一区免费在线观看| 亚洲在线视频免费观看| 午夜av一区二区三区| 国产最新精品免费| 成人av午夜影院| 欧美日本一道本| 日韩精品一区二区三区老鸭窝 | 中文字幕一区二区三区在线不卡 | 激情av综合网| 99视频在线精品| 欧美三级在线视频| 久久久久国产成人精品亚洲午夜 | 5858s免费视频成人| 日韩一区二区免费高清| 欧美极品xxx| 亚洲国产cao| 韩国女主播一区| 日本黄色一区二区| 日韩精品专区在线影院观看| **性色生活片久久毛片| 免费在线观看成人| 色呦呦一区二区三区| 国产综合久久久久久鬼色| 欧美激情在线观看视频免费| 欧美男人的天堂一二区| 亚洲欧美自拍偷拍色图| 国产精品一级黄| 欧美精品一区二区三区久久久| 亚洲国产一区二区三区 | 欧美性受极品xxxx喷水| 一区二区三区在线视频免费观看| 中文字幕亚洲欧美在线不卡| 一区二区三区视频在线观看| 国产精品99久久久久| 欧美日韩国产成人在线91| 中文字幕第一页久久| 看电影不卡的网站| 在线亚洲+欧美+日本专区| 国产亚洲精品7777| 日韩av二区在线播放| 91理论电影在线观看| 久久久久久久国产精品影院| 五月激情六月综合| 欧美性生活影院| 亚洲精品大片www| 色综合亚洲欧洲| 国产精品久久久久久久岛一牛影视 | 色综合久久九月婷婷色综合| 久久精品一区二区三区不卡牛牛 | 亚洲丝袜制服诱惑| 国产白丝精品91爽爽久久| 欧美不卡激情三级在线观看| 亚洲大片免费看| 91九色02白丝porn| ...中文天堂在线一区| a美女胸又www黄视频久久| 久久影院视频免费| 久久国产精品无码网站| 宅男在线国产精品| 丝袜亚洲另类欧美| 欧美在线小视频| 亚洲国产成人精品视频| 欧美在线观看视频在线| 亚洲国产欧美在线人成| 欧美区一区二区三区| 亚洲bt欧美bt精品777| 制服丝袜亚洲播放| 久久精品国产77777蜜臀| 欧美一区二区三区播放老司机| 日本美女视频一区二区| 欧美成人综合网站| 国产盗摄精品一区二区三区在线| 国产欧美一区二区精品仙草咪 | 亚洲精品一二三区| 久久久久久亚洲综合| 精品日韩在线观看| 粗大黑人巨茎大战欧美成人| 欧美色网一区二区| 欧美日本国产一区| 久久久777精品电影网影网 | 欧美一级视频精品观看| 老汉av免费一区二区三区| 五月婷婷久久丁香| 欧美日韩的一区二区| 亚洲黄色性网站| 在线观看精品一区| 免费黄网站欧美| 国产精品久久久久久久久果冻传媒| 在线视频国内一区二区| 美国一区二区三区在线播放| 欧美激情一区二区三区四区| 欧美探花视频资源| 国产精品1区2区| 亚洲444eee在线观看| 久久免费视频色| 欧美中文字幕亚洲一区二区va在线| 麻豆一区二区三| 亚洲视频 欧洲视频| 欧美一区二区三区在线观看| 成人av免费在线观看| 日本午夜精品视频在线观看| 国产精品日产欧美久久久久| 日韩欧美中文字幕公布| 成人自拍视频在线| 免费欧美日韩国产三级电影| 自拍偷拍亚洲激情| 日韩一二在线观看| 欧美偷拍一区二区| 成人午夜电影久久影院| 免费在线一区观看| 亚洲福利一二三区| 国产精品蜜臀av| 国产欧美日韩视频一区二区 | 国产不卡视频一区二区三区| 粉嫩在线一区二区三区视频| 国产欧美日韩亚州综合| 91精品国产综合久久香蕉的特点| 波波电影院一区二区三区| 九九国产精品视频| 视频一区视频二区中文| 一区二区三区四区精品在线视频| 久久久久久久av麻豆果冻| 91精品国产综合久久精品性色| 欧美亚洲高清一区二区三区不卡| 成人午夜av在线| 国产黄色91视频| 国产电影精品久久禁18| 国产在线精品一区在线观看麻豆| 日韩精品视频网| 午夜精品久久久久久不卡8050| 亚洲综合激情网| 一区二区免费视频| 亚洲伊人伊色伊影伊综合网| 一区二区三区在线观看动漫| 亚洲欧美另类综合偷拍| 一区二区三区色| 性感美女极品91精品| 午夜视频一区二区三区| 日韩综合小视频| 琪琪一区二区三区| 国产一区亚洲一区| 久久久久久综合| 日韩视频一区二区三区在线播放| 欧美性猛交一区二区三区精品| 亚洲欧美在线高清| 中文字幕一区二区视频| 久久久久久久久一| 欧美刺激脚交jootjob| 在线成人午夜影院| 在线观看精品一区| 欧美性感一区二区三区| 在线观看亚洲专区| 在线欧美日韩国产| 欧美少妇一区二区| 日韩午夜中文字幕| 亚洲人成小说网站色在线| 91精品国产入口| 日韩精品在线网站| 久久久777精品电影网影网| 国产精品理论片在线观看| 一区二区三区美女| 日本视频免费一区| 国产一区二区视频在线| 99在线热播精品免费| 91久久精品网| 精品国产在天天线2019| 中文字幕电影一区| 亚洲一区二区三区在线| 麻豆91免费观看| 99re热视频这里只精品| 69久久99精品久久久久婷婷| 国产日产欧美一区| 视频在线观看91| 丁香激情综合国产| 91麻豆精品国产无毒不卡在线观看| 久久久高清一区二区三区| 亚洲人成精品久久久久| 麻豆一区二区三| 91国模大尺度私拍在线视频| 久久久久久久电影| 奇米色777欧美一区二区| 99国产精品久久久| 欧美成人精品高清在线播放|