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

📄 24lc04p6.lst

📁 这是一个PIC单片机的实时操作系统
💻 LST
📖 第 1 页 / 共 3 页
字号:
   244                           ;24LC04P6.C: 198: Start_Bank=Start_Buf>>8;
   245  04F2  0840               	movf	?_iic_read+1,w
   246  04F3  00F1               	movwf	btemp+1
   247  04F4  083F               	movf	?_iic_read,w
   248  04F5  00F0               	movwf	btemp
   249  04F6  3008               	movlw	8
   250  04F7  00F2               	movwf	btemp+2
   251  04F8                     u85
   252  04F8  0D71               	rlf	btemp+1,w
   253  04F9  0CF1               	rrf	btemp+1
   254  04FA  0CF0               	rrf	btemp
   255  04FB  0BF2               	decfsz	btemp+2
   256  04FC  2CF8               	goto	u85
   257  04FD  0870               	movf	btemp,w
   258  04FE  00C5               	movwf	?a_iic_read+4
   259  04FF  0871               	movf	btemp+1,w
   260  0500  00C6               	movwf	?a_iic_read+5
   261                           ;24LC04P6.C: 199: Start_Bank=Start_Bank<<1;
   262  0501  1003               	bcf	3,0
   263  0502  0DC5               	rlf	?a_iic_read+4
   264  0503  0DC6               	rlf	?a_iic_read+5
   265                           ;24LC04P6.C: 201: asm("nop");
   266  0504  0000               	nop	;#
   267                           ;24LC04P6.C: 202: asm("nop");
   268  0505  0000               	nop	;#
   269                           ;24LC04P6.C: 203: Start_Bank=Start_Bank|0x01;
   270  0506  1445               	bsf	?a_iic_read+4,0
   271                           ;24LC04P6.C: 204: Start_Bank=Start_Bank|0xa0;
   272  0507  30A0               	movlw	160
   273  0508  04C5               	iorwf	?a_iic_read+4
   274                           ;24LC04P6.C: 205: asm("nop");
   275  0509  0000               	nop	;#
   276                           ;24LC04P6.C: 206: }
   277  050A  2D12               	goto	l20
   278  050B                     l19
   279                           ;24LC04P6.C: 209: {
   280  050B  083F               	movf	?_iic_read,w
   281  050C  00C3               	movwf	?a_iic_read+2
   282  050D  0840               	movf	?_iic_read+1,w
   283  050E  00C4               	movwf	?a_iic_read+3
   284                           ;24LC04P6.C: 211: Start_Bank=0xa1;
   285  050F  30A1               	movlw	161
   286  0510  00C5               	movwf	?a_iic_read+4
   287  0511  01C6               	clrf	?a_iic_read+5
   288  0512                     l20
   289                           ;24LC04P6.C: 213: }
   290                           ;24LC04P6.C: 214: asm("nop");
   291  0512  0000               	nop	;#
   292                           ;24LC04P6.C: 215: asm("nop");
   293  0513  0000               	nop	;#
   294                           ;24LC04P6.C: 216: err_flag=0;
   295  0514  10A0               	bcf	_err_flag/(0+8),_err_flag& (0+7)
   296                           ;24LC04P6.C: 217: start( );
   297  0515  24B1  120A  118A   	fcall	_start
   298                           ;24LC04P6.C: 218: tx(0xa0);
   299  0518  30A0               	movlw	-96
   300  0519  248E  120A  118A   	fcall	_tx
   301                           ;24LC04P6.C: 220: asm("nop");
   302  051C  0000               	nop	;#
   303                           ;24LC04P6.C: 221: tx(Start_Address);
   304  051D  0843               	movf	?a_iic_read+2,w
   305  051E  248E  120A  118A   	fcall	_tx
   306                           ;24LC04P6.C: 223: start( );
   307  0521  24B1  120A  118A   	fcall	_start
   308                           ;24LC04P6.C: 225: tx(Start_Bank);
   309  0524  0845               	movf	?a_iic_read+4,w
   310  0525  248E  120A  118A   	fcall	_tx
   311                           ;24LC04P6.C: 226: i=rx();
   312  0528  24CA               	fcall	_rx
   313  0529  00C1               	movwf	?a_iic_read
   314  052A  01C2               	clrf	?a_iic_read+1
   315                           ;24LC04P6.C: 231: dlay();
   316  052B  2488               	fcall	_dlay
   317                           ;24LC04P6.C: 232: dlay();
   318  052C  2488               	fcall	_dlay
   319                           ;24LC04P6.C: 233: return(i);
   320  052D  0841               	movf	?a_iic_read,w
   321                           ;24LC04P6.C: 235: }
   322  052E  0008               	return
   323                           
   324                           	psect	text5
   325  0448                     _iic_write
   326                           ;	_Start_Address assigned to ?a_iic_write+0
   327  0000                     _iic_write$Start_Address	set	?a_iic_write
   328                           ;	_Start_Bank assigned to ?a_iic_write+2
   329  0000                     _iic_write$Start_Bank	set	?a_iic_write+2
   330                           ;24LC04P6.C: 142: int Start_Address,Start_Bank;
   331  0448  0183               	clrf	3	;select bank 0
   332  0449  0842               	movf	?_iic_write+1,w
   333  044A  3A80               	xorlw	128
   334  044B  00F0               	movwf	btemp
   335  044C  3081               	movlw	129
   336  044D  0270               	subwf	btemp,w
   337  044E  3000               	movlw	0
   338                           ;set	bank bits for (((?_iic_write+0)))
   339  044F  1903               	btfsc	3,2
   340  0450  0241               	subwf	?_iic_write,w
   341  0451  1C03               	btfss	3,0
   342  0452  2C6D               	goto	l16
   343                           ;24LC04P6.C: 145: {
   344  0453  30FF               	movlw	255
   345  0454  0541               	andwf	?_iic_write,w
   346  0455  00C3               	movwf	?a_iic_write
   347  0456  01C4               	clrf	?a_iic_write+1
   348                           ;24LC04P6.C: 147: Start_Bank=Start_Buf>>8;
   349  0457  0842               	movf	?_iic_write+1,w
   350  0458  00F1               	movwf	btemp+1
   351  0459  0841               	movf	?_iic_write,w
   352  045A  00F0               	movwf	btemp
   353  045B  3008               	movlw	8
   354  045C  00F2               	movwf	btemp+2
   355  045D                     u65
   356  045D  0D71               	rlf	btemp+1,w
   357  045E  0CF1               	rrf	btemp+1
   358  045F  0CF0               	rrf	btemp
   359  0460  0BF2               	decfsz	btemp+2
   360  0461  2C5D               	goto	u65
   361  0462  0870               	movf	btemp,w
   362  0463  00C5               	movwf	?a_iic_write+2
   363  0464  0871               	movf	btemp+1,w
   364  0465  00C6               	movwf	?a_iic_write+3
   365                           ;24LC04P6.C: 148: Start_Bank=Start_Bank<<1;
   366  0466  1003               	bcf	3,0
   367  0467  0DC5               	rlf	?a_iic_write+2
   368  0468  0DC6               	rlf	?a_iic_write+3
   369                           ;24LC04P6.C: 150: Start_Bank=Start_Bank|0xa0;
   370  0469  30A0               	movlw	160
   371  046A  04C5               	iorwf	?a_iic_write+2
   372                           ;24LC04P6.C: 151: asm("nop");
   373  046B  0000               	nop	;#
   374                           ;24LC04P6.C: 152: }
   375  046C  2C74               	goto	l17
   376  046D                     l16
   377                           ;24LC04P6.C: 154: {
   378  046D  0841               	movf	?_iic_write,w
   379  046E  00C3               	movwf	?a_iic_write
   380  046F  0842               	movf	?_iic_write+1,w
   381  0470  00C4               	movwf	?a_iic_write+1
   382                           ;24LC04P6.C: 156: Start_Bank=0xa0;
   383  0471  30A0               	movlw	160
   384  0472  00C5               	movwf	?a_iic_write+2
   385  0473  01C6               	clrf	?a_iic_write+3
   386  0474                     l17
   387                           ;24LC04P6.C: 157: }
   388                           ;24LC04P6.C: 159: start( );
   389  0474  120A  118A  24B1   	fcall	_start
   390                           ;24LC04P6.C: 161: tx(Start_Bank);
   391  0477  0845               	movf	?a_iic_write+2,w
   392  0478  120A  118A  248E   	fcall	_tx
   393                           ;24LC04P6.C: 162: tx(Start_Address);
   394  047B  0843               	movf	?a_iic_write,w
   395  047C  120A  118A  248E   	fcall	_tx
   396                           ;24LC04P6.C: 165: tx(WriteDate);
   397  047F  0836               	movf	_WriteDate,w
   398  0480  120A  118A  248E   	fcall	_tx
      +       120A  118A         
   399                           ;24LC04P6.C: 170: stop( );
   400  0485  120A  118A  2CBE   	ljmp	_stop
   401                           
   402                           	psect	text7
   403                           ;24LC04P6.C: 236: void EEBankSet(unsigned char 
      +                          buf)
   404                           ;24LC04P6.C: 237: {
   405  03E1                     _EEBankSet
   406                           ;	_buf assigned to ?a_EEBankSet+0
   407  0000                     _EEBankSet$buf	set	?a_EEBankSet
   408                           ;_buf stored from w
   409  03E1  0183               	clrf	3	;select bank 0
   410  03E2  00B9               	movwf	?a_EEBankSet
   411                           ;24LC04P6.C: 239: unsigned char start;
   412  03E3  00B7               	movwf	_startad
   413                           ;24LC04P6.C: 241: temp=buf>>8;
   414  03E4  01B8               	clrf	_temp
   415                           ;24LC04P6.C: 242: temp=temp<<1;
   416  03E5  1003               	bcf	3,0
   417  03E6  0DB8               	rlf	_temp
   418                           ;24LC04P6.C: 244: temp=temp|0xae;
   419  03E7  30AE               	movlw	-82
   420  03E8  04B8               	iorwf	_temp
   421                           ;24LC04P6.C: 245: asm("nop");
   422  03E9  0000               	nop	;#
   423                           ;24LC04P6.C: 247: }
   424  03EA  0008               	return
   425                           
   426                           	psect	text8
   427  0000                     
   428  0000                     
   429  0000                     
   430  0000                     
   431  0000                     
   432  0000                     
   433  0000                     
   434  0000                     
   435  0000                     
   436  0000                     
   437  0000                     
   438  0000                     
   439  0000                     
   440  0000                     
   441  0000                     
   442  0000                     
   443  0000                     
   444  0000                     
   445  0000                     
   446  0000                     
   447  0000                     
   448  0000                     
   449  0000                     
   450  0000                     
   451  0000                     
   452  0000                     
   453  0000                     
   454  0000                     
   455  0000                     
   456  0000                     
   457  0000                     
   458  0000                     
   459  0000                     
   460  0000                     
   461  0000                     
   462  0000                     
   463  0000                     
   464  0000                     
   465  0000                     
   466  0000                     
   467  0000                     
   468  0000                     
   469  0000                     
   470  0000                     
   471  0000                     
   472  0000                     
   473  0000                     
   474  0000                     
   475  0000                     
   476  0000                     
   477  0000                     
   478  0000                     
   479  0000                     
   480  0000                     
   481  0000                     
   482  0000                     
   483  0000                     
   484  0000                     
   485  0000                     
   486  0000                     
   487  0000                     
   488  0000                     
   489  0000                     
   490  0000                     
   491  0000                     
   492  0000                     
   493  0000                     
   494  0000                     

⌨️ 快捷键说明

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