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

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

?? system.lst

?? cs8900 c51應(yīng)用
?? 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          }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
337p亚洲精品色噜噜狠狠| 日韩美女啊v在线免费观看| 在线综合亚洲欧美在线视频| 色综合天天综合网国产成人综合天| 国产精品18久久久久久久网站| 国产一区二区精品在线观看| 国产成人午夜精品影院观看视频 | 欧美性色黄大片| 色欧美片视频在线观看在线视频| 99在线精品观看| 99精品偷自拍| 色噜噜久久综合| 欧美视频完全免费看| 欧美精品v国产精品v日韩精品 | 日本道精品一区二区三区| 日本高清不卡aⅴ免费网站| 欧美写真视频网站| 欧美欧美欧美欧美| 日韩欧美三级在线| 久久理论电影网| 亚洲欧洲99久久| 午夜久久久久久久久| 青青草成人在线观看| 激情欧美日韩一区二区| thepron国产精品| 在线看一区二区| 欧美一级片免费看| 国产日韩av一区| 亚洲精品第1页| 蜜桃视频在线一区| 不卡影院免费观看| 欧美性生活大片视频| 欧美大片日本大片免费观看| 国产肉丝袜一区二区| 亚洲精选一二三| 日本免费在线视频不卡一不卡二 | 26uuu亚洲综合色欧美| 日本一区二区久久| 亚洲一区在线观看免费观看电影高清| 午夜精品aaa| 国产成人综合亚洲网站| 欧美视频你懂的| 精品国产精品网麻豆系列| 中文字幕一区二区三区蜜月| 天天综合网天天综合色| 高清视频一区二区| 欧美日韩精品一区二区三区四区 | 91精品午夜视频| 国产清纯美女被跳蛋高潮一区二区久久w| 在线观看视频91| 久久久美女艺术照精彩视频福利播放| 亚洲视频小说图片| 国产一区二区三区久久悠悠色av| 91年精品国产| 精品福利视频一区二区三区| 伊人一区二区三区| 粉嫩av一区二区三区粉嫩| 欧美美女一区二区在线观看| 国产精品卡一卡二卡三| 看电视剧不卡顿的网站| 色婷婷久久久综合中文字幕| 精品成人a区在线观看| 一区二区三区蜜桃网| 国产精品一区在线观看乱码| 欧美精品视频www在线观看| 中文字幕一区二区日韩精品绯色| 老司机免费视频一区二区| 欧美吞精做爰啪啪高潮| 欧美激情在线观看视频免费| 免费在线成人网| 欧美日韩视频在线第一区| 中文字幕第一区| 精品在线视频一区| 欧美日韩精品一区二区天天拍小说| 国产精品久久久一本精品| 久久狠狠亚洲综合| 制服丝袜中文字幕亚洲| 亚洲色图欧洲色图| 粉嫩久久99精品久久久久久夜| 日韩色在线观看| 午夜不卡在线视频| 91精品福利在线| 亚洲人成在线观看一区二区| 成人手机在线视频| 久久精品综合网| 国产一区二区0| 久久久久久影视| 九九九久久久精品| 日韩视频中午一区| 视频一区二区欧美| 欧美日韩在线三级| 亚洲一区二区精品视频| 972aa.com艺术欧美| 国产精品久久久久久久久搜平片 | 欧美在线视频全部完| 中文字幕免费观看一区| 国产suv精品一区二区883| 久久综合给合久久狠狠狠97色69| 久久国产日韩欧美精品| 欧美成人精品高清在线播放| 日韩成人av影视| 在线不卡中文字幕播放| 日韩精品五月天| 3d动漫精品啪啪一区二区竹菊 | 色999日韩国产欧美一区二区| 中文字幕一区二区在线观看| www.激情成人| 亚洲免费观看高清完整版在线 | 成人动漫精品一区二区| 欧美高清在线精品一区| 99re热视频这里只精品| 亚洲日本va午夜在线电影| 一本一道波多野结衣一区二区 | 色综合激情五月| 一区二区高清在线| 欧美日韩精品一区二区| 日本三级亚洲精品| 日韩欧美国产不卡| 国产高清精品在线| 亚洲色图.com| 欧美日韩一区三区| 久久激情五月婷婷| 国产精品系列在线| 在线观看视频91| 另类中文字幕网| 中文字幕成人av| 欧洲一区在线电影| 男女视频一区二区| 欧美国产激情一区二区三区蜜月 | 精品福利一区二区三区免费视频| 国产精品 欧美精品| 亚洲乱码国产乱码精品精的特点 | 免费在线观看成人| 欧美国产丝袜视频| 色噜噜狠狠色综合中国| 日日摸夜夜添夜夜添精品视频| 精品国产精品一区二区夜夜嗨| www.亚洲人| 天堂在线亚洲视频| 久久久美女毛片| 在线观看免费成人| 国产在线精品免费av| 国产精品色一区二区三区| 欧美无人高清视频在线观看| 另类调教123区| 亚洲欧美激情在线| 欧美成人性战久久| 色综合久久综合中文综合网| 99这里都是精品| 日韩国产欧美在线播放| 国产精品久久久久久亚洲毛片| 欧美性大战久久久久久久| 国产乱码一区二区三区| 亚洲一区二区视频| 久久日韩精品一区二区五区| 一本大道久久a久久精品综合| 久久国产生活片100| 亚洲男人电影天堂| 久久免费电影网| 欧美日本一区二区| jlzzjlzz欧美大全| 蜜臀99久久精品久久久久久软件| 日韩码欧中文字| 久久色视频免费观看| 在线电影国产精品| eeuss鲁片一区二区三区| 欧美aⅴ一区二区三区视频| 亚洲免费资源在线播放| 久久久亚洲综合| 7777精品伊人久久久大香线蕉的 | 一区二区三区日韩欧美精品| 国产亚洲精品aa| 91精品国产aⅴ一区二区| 91免费小视频| 国产福利一区二区三区| 人人爽香蕉精品| 午夜久久久久久久久久一区二区| 中文字幕一区二区三区不卡| www一区二区| 日韩一区二区三| 精品视频在线免费看| 91麻豆自制传媒国产之光| 国产成人综合网| 久久99精品久久久久久动态图| 亚洲国产一二三| 亚洲人成精品久久久久久| 国产精品网站在线播放| 国产亚洲综合av| 精品国偷自产国产一区| 911精品国产一区二区在线| 欧美在线观看18| 91免费小视频| 91麻豆高清视频| 成人av网站大全| 国产69精品久久久久777| 国产精品综合av一区二区国产馆| 麻豆91免费观看| 蜜臀99久久精品久久久久久软件| 视频在线观看一区| 日韩和欧美一区二区三区|