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

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

?? system.lst

?? cs8900 c51應用
?? LST
?? 第 1 頁 / 共 2 頁
字號:
C51 COMPILER V7.06   SYSTEM                                                                11/26/2004 11:32:44 PAGE 1   


C51 COMPILER V7.06, COMPILATION OF MODULE SYSTEM
OBJECT MODULE PLACED IN .\8052-obj\system.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\system.c LARGE OPTIMIZE(SIZE) BROWSE INTVECTOR(0X2000) INCDIR(D:\Work\op
                    -entcp\1-0-2\src\include\) DEFINE(MONITOR,CS8900) DEBUG OBJECTEXTEND CODE SYMBOLS PRINT(.\8052-lst\system.lst) PREPRINT(.
                    -\8052-lst\system.i) OBJECT(.\8052-obj\system.obj)

stmt level    source

   1          /*
   2           *Copyright (c) 2000-2002 Viola Systems Ltd.
   3           *All rights reserved.
   4           *
   5           *Redistribution and use in source and binary forms, with or without 
   6           *modification, are permitted provided that the following conditions 
   7           *are met:
   8           *
   9           *1. Redistributions of source code must retain the above copyright 
  10           *notice, this list of conditions and the following disclaimer.
  11           *
  12           *2. Redistributions in binary form must reproduce the above copyright 
  13           *notice, this list of conditions and the following disclaimer in the 
  14           *documentation and/or other materials provided with the distribution.
  15           *
  16           *3. The end-user documentation included with the redistribution, if 
  17           *any, must include the following acknowledgment:
  18           *      "This product includes software developed by Viola 
  19           *      Systems (http://www.violasystems.com/)."
  20           *
  21           *Alternately, this acknowledgment may appear in the software itself, 
  22           *if and wherever such third-party acknowledgments normally appear.
  23           *
  24           *4. The names "OpenTCP" and "Viola Systems" must not be used to 
  25           *endorse or promote products derived from this software without prior 
  26           *written permission. For written permission, please contact 
  27           *opentcp@opentcp.org.
  28           *
  29           *5. Products derived from this software may not be called "OpenTCP", 
  30           *nor may "OpenTCP" appear in their name, without prior written 
  31           *permission of the Viola Systems Ltd.
  32           *
  33           *THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED 
  34           *WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
  35           *MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
  36           *IN NO EVENT SHALL VIOLA SYSTEMS LTD. OR ITS CONTRIBUTORS BE LIABLE 
  37           *FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
  38           *CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
  39           *SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
  40           *BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
  41           *WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
  42           *OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
  43           *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  44           *====================================================================
  45           *
  46           *OpenTCP is the unified open source TCP/IP stack available on a series 
  47           *of 8/16-bit microcontrollers, please see <http://www.opentcp.org>.
  48           *
  49           *For more information on how to network-enable your devices, or how to 
  50           *obtain commercial technical support for OpenTCP, please see 
  51           *<http://www.violasystems.com/>.
  52           */
  53          
C51 COMPILER V7.06   SYSTEM                                                                11/26/2004 11:32:44 PAGE 2   

  54          /** \file system.c
  55           *      \brief Various OpenTCP system functions
  56           *      \author 
  57           *              \li Jari Lahti (jari.lahti@violasystems.com)
  58           *      \version 1.0
  59           *      \date 23.6.2002
  60           *      \bug
  61           *      \warning
  62           *      \todo
  63           *  
  64           *      This file contains system related functions and variables. See
  65           *      system.h for a list of function declarations, constants, etc.
  66           *
  67           */
  68          
  69          #include <inet/arch/config.h>
*** WARNING C318 IN LINE 69 OF ..\system.c: can't open file 'inet/arch/config.h'
  70          #include <inet/datatypes.h>
*** WARNING C318 IN LINE 70 OF ..\system.c: can't open file 'inet/datatypes.h'
  71          #include <inet/system.h>
*** WARNING C318 IN LINE 71 OF ..\system.c: can't open file 'inet/system.h'
  72          #include <inet/debug.h>
*** WARNING C318 IN LINE 72 OF ..\system.c: can't open file 'inet/debug.h'
  73          #include <inet/arch/at89s8252/serial-io.h>
*** WARNING C318 IN LINE 73 OF ..\system.c: can't open file 'inet/arch/at89s8252/serial-io.h'
  74          UINT32 base_timer;              /**< System 1.024 msec timer    */
*** ERROR C129 IN LINE 74 OF ..\SYSTEM.C: missing ';' before 'base_timer'
  75          
  76          UINT8 sleep_mode = 0;   /**< Used to store information about power-saving state we're in (if any) */
  77          
  78          /** \brief Transmit buffer used by all OpenTCP applications
  79           *
  80           *      This buffer is the transmit buffer used by all OpenTCP applications
  81           *      for sending of data. Please note the warnings below for correct usage
  82           *      of this buffer that ensures proper operation of the applications.
  83           *
  84           *      \warning
  85           *              \li <b>Transmit buffer start</b> - to avoid data copying, the TCP/IP
  86           *              stack will use first part of the net_buf buffer to add it's data. This
  87           *              means that applications using TCP and/or UDP <b>must not</b> write
  88           *              application-level data from the beginning of the buffer but from certain
  89           *              offset. This offset depends on the transport-layer protocol (it's
  90           *              header size that is). For TCP this value is defined by the
  91           *              TCP_APP_OFFSET and for the UDP it is UDP_APP_OFFSET.
  92           *              \li <b>Buffer sharing</b> - since all applications share this buffer among each other, 
  93           *              and with the TCP/IP stack as well, care must be taken not to
  94           *              overwrite other applications' data before it is sent. This is best
  95           *              achieved if all applications work in the main loop and when they
  96           *              wish to send data they fill in the buffer and send it immediately.
  97           *
  98           */
  99          UINT8 net_buf[NETWORK_TX_BUFFER_SIZE];  /* Network transmit buffer      */
 100          
 101          /********************************************************************************
 102          Function:               strlen
 103          
 104          Parameters:             UINT8* str - start address of string buffer
 105                                          UINT16 len - buffer length
 106                                          
 107          Return val:             INT16 - (-1) Not a string
 108                                                          (>=0) Length of string
 109                                          
C51 COMPILER V7.06   SYSTEM                                                                11/26/2004 11:32:44 PAGE 3   

 110          Date:                   12.8.2002
 111          
 112          Desc:                   Calculates the length of given string
 113          *********************************************************************************/
 114          
 115          
 116          INT16 strlen (UINT8* buf, UINT16 len)
 117          {
 118                  UINT16 i;
 119                  
 120                  for(i=0; i<len; i++) {
 121                          if(*buf == '\0')
 122                                  return( i );
 123                          
 124                          buf++;
 125                  }
 126                  
 127                  /* Not found    */
 128                  
 129                  return(-1);
 130          
 131          
 132          }
 133          
 134          
 135          /********************************************************************************
 136          Function:               bufsearch
 137          
 138          Parameters:             UINT8* startadr - start address of given buffer
 139                                          UINT16 len - buffer length
 140                                          UINT8* str - given searchstring
 141                                          
 142          Return val:             INT16 - (-1) Not found
 143                                                          (>=0) Start of matched string from startadr
 144                                          
 145          Date:                   12.7.2002
 146          
 147          Desc:                   Seeks given string from given buffer
 148          *********************************************************************************/
 149          
 150          INT16 bufsearch (UINT8* startadr, UINT16 len, UINT8* str)
 151          {
 152                  UINT16 i;
 153                  INT16 position;
 154                  UINT8 matchesneeded;
 155                  UINT8 matchesnow;
 156                  UINT8* target;
 157                  UINT8* key;
 158                  
 159                  target = startadr;
 160                  position = -1;
 161                  key = str;
 162                  matchesnow = 0;
 163                  matchesneeded = 0;
 164                  
 165                  /* How many matches we need?    */
 166                  
 167                  while( *key++ != '\0' ) {
 168                          /* Break possible deadlock      */
 169                          
 170                          matchesneeded++;
 171                          if(matchesneeded > 30)
C51 COMPILER V7.06   SYSTEM                                                                11/26/2004 11:32:44 PAGE 4   

 172                                  return(-1);
 173                  }
 174                  
 175                  /* Search for first mark and continue searching if found        */
 176                  
 177                  key = str;
 178                  
 179                  for(i=0; i<len; i++) {
 180                          if( *target == *key) {
 181                                  /* We found matching character          */
 182                                  
 183                                  matchesnow++;
 184                                  
 185                                  /* Move to next character of key        */
 186                                  
 187                                  key++;
 188                                  target++;
 189                                  
 190                                  if(matchesnow == 1) {
 191                                          /* First character match        */
 192                                          
 193                                          position = i;
 194                                  }
 195                                  
 196                                  if(matchesneeded == matchesnow) {
 197                                          /* Whole string matched */
 198                                          
 199                                          return(position);
 200                                  }
 201                                  
 202                          } else {
 203                          
 204                                  if( matchesnow != 0) {
 205                                          /* It wasn't a complete match...                                */
 206                                          /* Initialize counters and start again                  */
 207                                  
 208                                          matchesnow = 0;
 209                                          key = str;
 210                                  
 211                                          /* Move to next character of target after               */
 212                                          /* previous matching character                                  */
 213                                  
 214                                          target = startadr;
 215                                          target += position;
 216                                          target += 1;
 217                                  
 218                                          i = position;
 219                                  } else {
 220                                          /* Just continue searching the first match              */
 221                                          target++;
 222                                  }
 223                          }
 224                  
 225                  }
 226                  
 227                  /* No matches found...  */
 228                  
 229                  return(-1);
 230                  
 231          }
 232          
 233          
C51 COMPILER V7.06   SYSTEM                                                                11/26/2004 11:32:44 PAGE 5   

 234          /********************************************************************************
 235          Function:               tolower
 236          
 237          Parameters:             UINT8 ch - ASCII character to be converted lowercase
 238                                          
 239          Return val:             UINT8 - converted character
 240                                          
 241          Date:                   21.8.2002
 242          
 243          Desc:                   If ch is UPPERCASE letter it is converted to lowercase and 
 244                                          returned. Otherwise original character is returned
 245          *********************************************************************************/
 246          
 247          UINT8 tolower (UINT8 ch)
 248          {
 249                  if( (ch < 91) && (ch > 64) )
 250                          return(ch + 32);
 251                  
 252                  return(ch); 
 253          
 254          }
 255          
 256          
 257          /********************************************************************************
 258          Function:               toupper
 259          
 260          Parameters:             UINT8 ch - ASCII character to be converted UPPERCASE
 261                                          
 262          Return val:             UINT8 - converted character
 263                                          
 264          Date:                   21.8.2002
 265          
 266          Desc:                   If ch is lowercase letter it is converted to UPPERCASE and 
 267                                          returned. Otherwise original character is returned
 268          *********************************************************************************/
 269          
 270          UINT8 toupper (UINT8 ch)
 271          {
 272                  if( (ch < 123) && (ch > 96) )
 273                          return(ch - 32);
 274                  
 275                  return(ch); 
 276          
 277          }
 278          
 279          /* Is the given ASCII code numerical    */
 280          /* e.g. '0','1','2' ... '9'                             */
 281          
 282          UINT8 isnumeric (UINT8 ch)
 283          {
 284                  if( (ch < 58) && (ch > 47) )
 285                          return(1);
 286                  return(0);
 287          }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人午夜电影小说| 在线观看91精品国产麻豆| 亚洲午夜精品网| 国产三级一区二区| 91麻豆精品91久久久久同性| 不卡的av网站| 韩国精品在线观看| 亚洲一区二区3| 中文字幕日本不卡| 精品国产乱码久久久久久浪潮| 色综合天天综合在线视频| 国产传媒一区在线| 美女一区二区视频| 五月天网站亚洲| 夜色激情一区二区| 国产精品日产欧美久久久久| 精品国产自在久精品国产| 欧洲亚洲精品在线| 91美女在线看| 成人精品小蝌蚪| 国产精品一区二区在线观看网站| 免费在线观看精品| 午夜av电影一区| 亚洲国产精品人人做人人爽| 亚洲欧美视频一区| 1000部国产精品成人观看| 中文字幕不卡的av| 久久精品免视看| 中文字幕亚洲综合久久菠萝蜜| 久久婷婷久久一区二区三区| 91精品久久久久久蜜臀| 欧美日韩精品二区第二页| 91成人在线精品| 欧美少妇性性性| 91成人国产精品| 日本精品一区二区三区四区的功能| 成人小视频免费在线观看| 成人亚洲一区二区一| 国产精品一区二区在线观看网站| 国产一区二区三区在线观看免费| 久久精品国产77777蜜臀| 九一九一国产精品| 国内精品伊人久久久久av一坑| 韩国一区二区三区| 风间由美一区二区av101| 国产传媒一区在线| jizzjizzjizz欧美| 色老汉av一区二区三区| 欧美性xxxxxx少妇| 欧美日韩国产不卡| 欧美大片日本大片免费观看| 精品国免费一区二区三区| 国产午夜精品在线观看| 国产精品你懂的在线欣赏| 中文字幕一区二区三区四区| 亚洲免费观看高清| 性做久久久久久| 视频一区二区国产| 久久精品国产99| 成人毛片在线观看| 色噜噜狠狠成人中文综合 | 美女视频黄a大片欧美| 久久激五月天综合精品| 成人在线一区二区三区| 色婷婷激情一区二区三区| 欧美日韩高清影院| 亚洲精品一区二区精华| 国产精品久久久爽爽爽麻豆色哟哟| 亚洲日本青草视频在线怡红院 | 日韩视频一区二区三区| 久久老女人爱爱| 亚洲男同性恋视频| 日韩av电影免费观看高清完整版| 国产一区福利在线| 日本二三区不卡| 日韩欧美在线123| 国产精品免费av| 五月天一区二区三区| 国产精品一区在线观看你懂的| 91免费在线视频观看| 在线播放91灌醉迷j高跟美女| 欧美xxxxxxxxx| 一区二区三区中文在线| 精东粉嫩av免费一区二区三区| 99久久综合国产精品| 7777精品伊人久久久大香线蕉的| 国产色产综合产在线视频| 亚洲v精品v日韩v欧美v专区| 国产一区福利在线| 欧美欧美欧美欧美| 国产精品美日韩| 久久精品国产99国产| 91久久免费观看| 精品国产髙清在线看国产毛片 | 日韩毛片一二三区| 久久精品噜噜噜成人88aⅴ | 国产嫩草影院久久久久| 亚洲成人精品在线观看| 国产成人免费av在线| 欧美精品一二三四| 亚洲人精品一区| 国产激情一区二区三区四区 | 九九视频精品免费| 欧美日韩成人高清| 一区二区视频在线| 国产99久久久国产精品潘金 | 成人性色生活片免费看爆迷你毛片| 欧美精品三级在线观看| 亚洲欧美一区二区三区久本道91| 国产美女娇喘av呻吟久久| 56国语精品自产拍在线观看| 亚洲免费在线观看| 成人av网在线| 久久综合狠狠综合久久综合88| 亚洲h精品动漫在线观看| av不卡免费电影| 久久综合精品国产一区二区三区| 日本欧美大码aⅴ在线播放| 91国偷自产一区二区使用方法| 国产精品色哟哟网站| 懂色一区二区三区免费观看| 亚洲精品一区在线观看| 美国av一区二区| 日韩一级在线观看| 偷偷要91色婷婷| 91精品麻豆日日躁夜夜躁| 亚洲高清视频中文字幕| 97aⅴ精品视频一二三区| 国产精品天干天干在观线| 国产99久久久精品| 国产精品人成在线观看免费 | 国产精品91一区二区| 欧美精品一区二区在线播放| 美脚の诱脚舐め脚责91| 日韩女优av电影| 国内精品自线一区二区三区视频| 日韩精品最新网址| 国产麻豆视频一区| 国产拍欧美日韩视频二区| 岛国精品一区二区| 中文字幕中文字幕在线一区| 97精品超碰一区二区三区| 一区二区视频在线| 欧美色区777第一页| 日韩av电影天堂| 精品国产乱码久久久久久图片| 国产一区视频导航| 国产精品视频看| 色综合天天在线| 亚洲电影第三页| 日韩欧美综合在线| 国产一区二区0| 亚洲日本在线天堂| 欧美日本免费一区二区三区| 久久超碰97人人做人人爱| 久久久久久麻豆| 94-欧美-setu| 日韩高清不卡在线| 国产色一区二区| 色婷婷精品大视频在线蜜桃视频| 天天色天天操综合| 精品国产区一区| aaa欧美大片| 五月婷婷色综合| 国产日韩av一区| 欧美性生活影院| 国产一区二区久久| 亚洲综合一区在线| 精品三级在线看| 99久久精品国产精品久久| 亚洲成a人v欧美综合天堂下载| 欧美成人video| 色婷婷精品久久二区二区蜜臀av| 美女尤物国产一区| **网站欧美大片在线观看| 91精品国产综合久久久久久| 国产成人av电影免费在线观看| 亚洲午夜激情av| 国产日产欧美一区| 欧美精品久久天天躁| 国产盗摄一区二区三区| 偷拍与自拍一区| 国产欧美日本一区视频| 欧美日韩免费视频| 国产不卡视频在线观看| 丝袜国产日韩另类美女| 国产精品沙发午睡系列990531| 777a∨成人精品桃花网| gogogo免费视频观看亚洲一| 日本在线观看不卡视频| 亚洲免费av高清| 欧美国产成人在线| 欧美一级片免费看| 色婷婷国产精品综合在线观看| 久久99久久精品| 亚洲成人手机在线| 亚洲男人天堂av网| 国产精品美女久久久久久| 精品少妇一区二区三区| 91麻豆精品国产综合久久久久久 |