util.lst

来自「这是一个基于8255扩展端口的keil c51固件」· LST 代码 · 共 65 行

LST
65
字号
C51 COMPILER V7.00  UTIL                                                                   01/05/2004 23:20:13 PAGE 1   


C51 COMPILER V7.00, COMPILATION OF MODULE UTIL
OBJECT MODULE PLACED IN util.OBJ
COMPILER INVOKED BY: F:\Keil\C51\BIN\C51.EXE util.c LARGE BROWSE INTVECTOR(0X8000) DEBUG OBJECTEXTEND TABS(2)

stmt level    source

   1          /*
   2            Copyright (C) 2003 Bart Bilos <boombox666@yahoo.com>.
   3          
   4            This program is free software; you can redistribute it and/or
   5            modify it under the terms of the GNU General Public License
   6            as published by the Free Software Foundation; either version 2
   7            of the License, or (at your option) any later version.
   8          
   9            This program is distributed in the hope that it will be useful,
  10            but WITHOUT ANY WARRANTY; without even the implied warranty of
  11            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12            GNU General Public License for more details.
  13          
  14            You should have received a copy of the GNU General Public License
  15            along with this program; if not, write to the Free Software Foundation, 
  16            Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17          
  18          */
  19          
  20          // Small delay subroutine
  21          void delay(unsigned int delay) {
  22   1        unsigned int i,j;
  23   1        for(i = 0; i < delay ;i++)
  24   1          for(j = 0; j < 255 ;j++);
  25   1      }
  26          
  27          long int long_big_endian(long int value) {
  28   1      long int temp=0;
  29   1      temp = temp | ((value >> 24) & 0x000000FF);
  30   1      temp = temp | ((value >> 8) & 0x0000FF00);
  31   1      temp = temp | ((value << 8) & 0x00FF0000);
  32   1      temp = temp | ((value << 24) & 0xFF000000);
  33   1      return temp;
  34   1      }
  35          
  36          int int_big_endian(int value) {
  37   1      int temp;
  38   1      temp = (value >> 8) & 0x00FF;
  39   1      temp = temp | ((value << 8) & 0xFF00);
  40   1      return temp;
  41   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    253    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----       8
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?