⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 time.lst

📁 Microchip 公司16F648 芯片实现RS485通讯,符合Modbus通讯协议,可用PICC环境编译.文件完整,可供参考.
💻 LST
字号:


HI-TECH Software PICC Macro Assembler V8.05PL1
Serial number: HCPIC-90508                            Thu Nov  8 13:04:20 2007

Licensed to: ONE
     1                           	processor	16F648A
     2                           	opt	pw 79
     3                           	psect	__Z90508RS_,global,delta=1
     4                           	psect	text0,local,class=CODE,delta=2
     5                           	psect	text1,local,class=CODE,delta=2
     6                           	psect	text2,local,class=CODE,delta=2
     7                           	psect	rbss_0,global,class=BANK0,space=1,delta=
      +                          1
     8  0000                     
     9  0000                     
    10  0000                     
    11  0000                     
    12  0000                     
    13  0000                     
    14  0000                     
    15  0000                     
    16  0000                     
    17  0000                     
    18                           
    19                           	psect	__Z90508RS_
    20  0000'                    
    21  0000'                    
    22                           
    23                           	psect	text0
    24  0000'                    _time0init
    25                           ;time.c: 12: OPTION |= 0b00000111;
    26  0000' 3007               	movlw	7
    27  0001' 1683               	bsf	3,5
    28  0002' 1303               	bcf	3,6	;carry unused
    29  0003' 0481               	iorwf	1
    30                           ;time.c: 13: OPTION &= ~0b00111100;
    31  0004' 30C3               	movlw	-61
    32  0005' 0581               	andwf	1
    33                           ;time.c: 14: TMR0 = 0x80;
    34  0006' 3080               	movlw	-128
    35  0007' 1283               	bcf	3,5
    36  0008' 0081               	movwf	1	;volatile
    37                           ;time.c: 15: T0IE = 1;
    38  0009' 168B               	bsf	11,5
    39                           ;time.c: 17: }
    40  000A' 0008               	return
    41                           
    42                           	psect	text1
    43  0000'                    _time_mission
    44                           ;time.c: 22: static uchar Cnt100ms;
    45  0000' 0183               	clrf	3	;select bank 0
    46  0001' 1000'              	bcf	_timeBase,0	;volatile
    47                           ;time.c: 26: timeBase.bits.b10ms = 0;
    48  0002' 1100'              	bcf	_timeBase,2	;volatile
    49                           ;time.c: 28: if(timeBase.bits.bt1ms)
    50  0003' 1C80'              	btfss	_timeBase,1	;volatile
    51  0004' 0008               	return
    52                           ;time.c: 29: {
    53  0005' 1080'              	bcf	_timeBase,1	;volatile
    54                           ;time.c: 31: timeBase.bits.b1ms = 1;
    55  0006' 1400'              	bsf	_timeBase,0	;volatile
    56                           ;time.c: 32: if(receTimeOut>0)
    57  0007' 0800'              	movf	_receTimeOut,w	;volatile
    58  0008' 1903               	btfsc	3,2
    59  0009' 2800'              	goto	l8
    60                           ;time.c: 33: {
    61  000A' 0B80'              	decfsz	_receTimeOut	;volatile
    62                           ;time.c: 35: if(receTimeOut==0 && receCount>0)
    63  000B' 2800'              	goto	l8
    64  000C' 1683               	bsf	3,5
    65  000D' 0800'              	movf	_receCount^(0+128),w	;volatile
    66  000E' 1903               	btfsc	3,2
    67  000F' 2800'              	goto	l8
    68                           ;time.c: 36: {
    69  0010' 1683               	bsf	3,5
    70  0011' 0180'              	clrf	_receCount^(0+128)	;volatile
    71                           ;time.c: 38: checkoutError = 0;
    72  0012' 1283               	bcf	3,5
    73  0013' 0180'              	clrf	_checkoutError	;volatile
    74                           ;time.c: 39: }
    75  0014'                    l8
    76                           ;time.c: 42: if(Cnt100ms++ == 40)
    77  0014' 1283               	bcf	3,5
    78  0015' 0A80'              	incf	F358
    79  0016' 0300'              	decf	F358,w
    80  0017' 3A28               	xorlw	40
    81  0018' 1D03               	btfss	3,2
    82  0019' 0008               	return
    83                           ;time.c: 43: {
    84  001A' 0180'              	clrf	F358
    85                           ;time.c: 45: Tag_ms = 1;
    86  001B' 0180'              	clrf	_Tag_ms
    87  001C' 0A80'              	incf	_Tag_ms
    88                           ;time.c: 47: }
    89                           ;time.c: 64: }
    90  001D' 0008               	return
    91                           
    92                           	psect	text2
    93  0000                     
    94  0000                     
    95  0000                     
    96  0000                     
    97  0000                     
    98  0000                     
    99  0000                     
   100  0000                     
   101  0000                     
   102  0000                     
   103  0000                     
   104  0000                     
   105  0000                     
   106  0000                     
   107  0000                     
   108  0000                     
   109  0000                     
   110  0000                     
   111  0000                     
   112  0000                     
   113  0000                     
   114  0000                     
   115  0000                     
   116  0000                     
   117  0000                     
   118  0000                     
   119  0000                     
   120  0000                     
   121  0000                     
   122  0000                     
   123  0000                     
   124  0000                     
   125  0000                     
   126  0000                     
   127  0000                     
   128  0000                     
   129  0000                     
   130  0000                     
   131  0000                     
   132  0000                     
   133  0000                     
   134  0000                     
   135  0000                     
   136  0000                     
   137  0000                     
   138  0000                     
   139  0000                     
   140  0000                     
   141  0000                     
   142  0000                     
   143  0000                     
   144  0000                     
   145  0000                     
   146  0000                     
   147  0000                     
   148  0000                     
   149  0000                     
   150  0000                     
   151  0000                     
   152  0000                     
   153  0000                     
   154  0000                     
   155  0000                     
   156  0000                     
   157  0000                     
   158  0000                     
   159  0000                     
   160  0000                     
   161  0000                     
   162  0000                     
   163  0000                     
   164  0000                     
   165  0000                     
   166  0000                     
   167  0000                     
   168  0000                     
   169  0000                     
   170  0000                     
   171  0000                     
   172  0000                     
   173  0000                     
   174  0000                     
   175  0000                     
   176  0000                     
   177  0000                     
   178  0000                     
   179  0000                     
   180  0000                     
   181  0000                     
   182  0000                     
   183  0000                     
   184  0000                     
   185  0000                     
   186  0000                     
   187  0000                     
   188  0000                     
   189  0000                     
   190  0000                     
   191  0000                     
   192  0000                     
   193  0000                     
   194  0000                     
   195  0000                     
   196  0000                     
   197  0000                     
   198  0000                     
   199  0000                     
   200  0000                     
   201  0000                     
   202  0000                     
   203  0000                     
   204  0000                     
   205  0000                     
   206  0000                     
   207  0000                     
   208  0000                     
   209  0000                     
   210  0000                     
   211  0000                     
   212  0000                     
   213  0000                     
   214  0000                     
   215  0000                     
   216  0000                     
   217  0000                     
   218  0000                     
   219                           
   220                           	psect	rbss_0
   221  0000'                    F358
   222  0000'                    	ds	1
   223  0000                     
   224  0000                     
   225  0000                     
   226  0000                     
   227  0000                     
   228  0000                     
   229  0000                     
   230  0000                     
   231  0000                     
   232  0000                     
   233  0000                     
   234  0000                     
   235  0000                     
   236  0000                     
   237  0000                     
   238  0000                     
   239  0000                     
   240  0000                     
   241  0000                     
   242  0000                     
   243  0000                     
   244  0000                     
   245  0000                     
   246  0000                     
   247  0000                     
   248  0000                     
   249  0000                     
   250  0000                     
   251  0000                     
   252  0000                     
   253  0000                     
   254  0000                     
   255  0000                     
   256  0000                     


HI-TECH Software PICC Macro Assembler V8.05PL1
Symbol Table                                          Thu Nov  8 13:04:20 2007

            l8 0014            F358 0000   _time_mission 0000  
       _Tag_ms 0000*      _timeBase 0000*   _receTimeOut 0000* 
    _receCount 0000*     _time0init 0000  _checkoutError 0000* 
        status 0003     clear_bank0 0000* 

⌨️ 快捷键说明

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