PIC16F877c语言实现485收发一个字节的数据

源代码在线查看: 485-2.map

软件大小: 22 K
上传用户: tanhua1981
关键词: F877 877c PIC 16F
下载地址: 免注册下载 普通下载 VIP

相关代码

				HI-TECH Software PICC Compiler V8.05PL1
				
				Linker command line:
				
				-z -M485-2.map -ol.obj \
				  -ppowerup=00h,intentry=04h,intcode,intret,init,init23,end_init,clrtext,stringtable,pstrings,strings \
				  -ABANK0=020h-07Fh -prbit_0=BANK0,rbss_0=BANK0,rdata_0=BANK0,idata_0=CODE \
				  -ABANK1=0A0h-0EFh -prbit_1=BANK1,rbss_1=BANK1,rdata_1=BANK1,idata_1=CODE \
				  -ABANK2=0110h-016Fh \
				  -prbit_2=BANK2,rbss_2=BANK2,rdata_2=BANK2,idata_2=CODE \
				  -ABANK3=0190h-01EFh \
				  -prbit_3=BANK3,rbss_3=BANK3,rdata_3=BANK3,idata_3=CODE \
				  -ACOMBANK=070h-07Fh -ptemp=COMBANK -ACODE=0-7FFhx4 -ACONST=0-0FFhx32 \
				  -pconfig=2007h -pidloc=2000h -AEEDATA=2100h-21FFh -peeprom_data=EEDATA \
				  -pfloat_text0=CODE,float_text1=CODE,float_text2=CODE \
				  -pfloat_text3=CODE,float_text4=CODE \
				  -pnvram=BANK0,nvram_1=BANK1,nvram_2=BANK2,nvram_3=BANK3 \
				  -pnvbit_0=BANK0,nvbit_1=BANK1,nvbit_2=BANK2,nvbit_3=BANK3 -Q16F877A \
				  -h+485-2.sym -E -EC:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\_I0.AAA \
				  -ver=PICC#V8.05PL1 C:\HT-PIC\LIB\picrt42c.obj \
				  F:\experiment\ADC\485-2\485-2.obj C:\HT-PIC\LIB\pic62--u.lib \
				  C:\HT-PIC\LIB\pic42c-c.lib C:\HT-PIC\LIB\pic62--u.lib 
				
				Object code version is 3.7
				
				Machine type is 16F877A
				
				Call graph:
				
				*_main size 0,0 offset 0
				     _initial
				     _sciinitial
				*    _send_serial size 0,1 offset 0
				*_LOW_ISR
				
						Name          Link     Load   Length Selector Space Scale
				C:\HT-PIC\LIB\picrt42c.obj
						end_init        1E       1E        4       8     0
				F:\experiment\ADC\485-2\485-2.obj
						intcode          B        B        8       8     0
						intentry         4        4        7       8     0
						intret          13       13        7       8     0
						intsave_0       70       70        1      70     1
						rbss_0          20       20        3      20     1
						intsave         25       25        2      20     1
						text4          792      792       6E     F24     0
						text0          74F      74F       43     E9E     0
				
				C:\HT-PIC\LIB\pic62--u.lib
				
				C:\HT-PIC\LIB\pic42c-c.lib
				clrbank0.obj    init            1A       1A        4       8     0
				clr.obj         clrtext         22       22        7       8     0
				powerup.obj     powerup          0        0        4       0     0
				
				C:\HT-PIC\LIB\pic62--u.lib
				
				COMMON          rbss_0          23       23        2      20     1
				
				TOTAL		Name          Link     Load   Length
					CLASS	BANK0    
						rbss_0          20       20        5
						intsave         25       25        2
				
					CLASS	BANK1    
				
					CLASS	BANK2    
				
					CLASS	BANK3    
				
					CLASS	COMBANK  
						intsave_0       70       70        1
				
					CLASS	CODE     
						intcode          B        B        8
						intentry         4        4        7
						intret          13       13        7
						powerup          0        0        4
						clrtext         22       22        7
						end_init        1E       1E        4
						init            1A       1A        4
						text4          792      792       6E
						text0          74F      74F       43
				
					CLASS	CONST    
				
					CLASS	EEDATA   
				
					CLASS	ENTRY    
				
					CLASS	STRING   
				
					CLASS	IDLOC    
				
					CLASS	CONFIG   
				
				
				
				SEGMENTS	Name		Load	Length	 Top	Selector    Space Class
				
						powerup         000000	000004	000004	       0       0  CODE    
						intentry        000004	000025	000029	       8       0  CODE    
						rbit_0          000020	000007	000027	      20       1  BANK0   
						temp            000070	000001	000071	      70       1  COMBANK 
						text0           00074F	000043	000792	     E9E       0  CODE    
						text4           000792	00006E	000800	     F24       0  CODE    
				
				
				UNUSED ADDRESS RANGES
				
					BANK0            0027-006F
					                 0071-007F
					BANK1            00A0-00EF
					BANK2            0110-016F
					BANK3            0190-01EF
					CODE             0029-074E
					                 0800-1FFF
					COMBANK          0071-007F
					CONST            0029-074E
					                 0800-1FFF
					EEDATA           2100-21FF
				
				                                  Symbol Table
				
				?_Delay1Ms_2   rbss_0      0023  ?a_Delay1Ms_2  rbss_0      0023
				?a_send_serial rbss_0      0023  _Delay1Ms_2    text4       0792
				_LOW_ISR       intcode     000B  __Bnvbit_0     nvbit_0     0025
				__Bnvbit_1     nvbit_1     00A0  __Bnvbit_2     nvbit_2     0110
				__Bnvbit_3     nvbit_3     0190  __Brbit_0      rbit_0      0020
				__Brbit_1      rbit_1      00A0  __Brbit_2      rbit_2      0110
				__Brbit_3      rbit_3      0190  __H__Z79926RS_ __Z79926RS_ 0190
				__Hclrtext     clrtext     0029  __Hcode        code        0190
				__Hcommon_ram  common_ram  0190  __Hconfig      config      2007
				__Heeprom_data eeprom_data 2100  __Hend_init    end_init    0022
				__Hfloat_text0 float_text0 0029  __Hfloat_text1 float_text1 0029
				__Hfloat_text2 float_text2 0029  __Hfloat_text3 float_text3 0029
				__Hfloat_text4 float_text4 0029  __Hidata_0     idata_0     0029
				__Hidata_1     idata_1     0029  __Hidata_2     idata_2     0029
				__Hidata_3     idata_3     0029  __Hidloc       idloc       2000
				__Hinit        init        001E  __Hinit23      init23      001E
				__Hintcode     intcode     0013  __Hintentry    intentry    000B
				__Hintret      intret      001A  __Hintsave     intsave     0190
				__Hintsave_0   intsave_0   0071  __Hintsave_1   intsave_1   0190
				__Hintsave_2   intsave_2   0190  __Hintsave_3   intsave_3   0190
				__Hnvbit_0     nvbit_0     0128  __Hnvbit_1     nvbit_1     0500
				__Hnvbit_2     nvbit_2     0880  __Hnvbit_3     nvbit_3     0C80
				__Hnvram       nvram       0025  __Hnvram_1     nvram_1     00A0
				__Hnvram_2     nvram_2     0110  __Hnvram_3     nvram_3     0190
				__Hpowerup     powerup     0004  __Hpstrings    pstrings    0029
				__Hrbit_0      rbit_0      0100  __Hrbit_1      rbit_1      0500
				__Hrbit_2      rbit_2      0880  __Hrbit_3      rbit_3      0C80
				__Hrbss_0      rbss_0      0025  __Hrbss_1      rbss_1      00A0
				__Hrbss_2      rbss_2      0110  __Hrbss_3      rbss_3      0190
				__Hrdata_0     rdata_0     0025  __Hrdata_1     rdata_1     00A0
				__Hrdata_2     rdata_2     0110  __Hrdata_3     rdata_3     0190
				__Hstrings     strings     0029  __Hstringtable stringtable 0029
				__Hstruct      struct      0027  __Htemp        temp        0070
				__Htext        text        0190  __Hvectors     vectors     0029
				__L__Z79926RS_ __Z79926RS_ 0190  __Lclrtext     clrtext     0022
				__Lcode        code        0190  __Lcommon_ram  common_ram  0190
				__Lconfig      config      2007  __Leeprom_data eeprom_data 2100
				__Lend_init    end_init    001E  __Lfloat_text0 float_text0 0029
				__Lfloat_text1 float_text1 0029  __Lfloat_text2 float_text2 0029
				__Lfloat_text3 float_text3 0029  __Lfloat_text4 float_text4 0029
				__Lidata_0     idata_0     0029  __Lidata_1     idata_1     0029
				__Lidata_2     idata_2     0029  __Lidata_3     idata_3     0029
				__Lidloc       idloc       2000  __Linit        init        001A
				__Linit23      init23      001E  __Lintcode     intcode     000B
				__Lintentry    intentry    0004  __Lintret      intret      0013
				__Lintsave     intsave     0190  __Lintsave_0   intsave_0   0070
				__Lintsave_1   intsave_1   0190  __Lintsave_2   intsave_2   0190
				__Lintsave_3   intsave_3   0190  __Lnvbit_0     nvbit_0     0128
				__Lnvbit_1     nvbit_1     0500  __Lnvbit_2     nvbit_2     0880
				__Lnvbit_3     nvbit_3     0C80  __Lnvram       nvram       0025
				__Lnvram_1     nvram_1     00A0  __Lnvram_2     nvram_2     0110
				__Lnvram_3     nvram_3     0190  __Lpowerup     powerup     0000
				__Lpstrings    pstrings    0029  __Lrbit_0      rbit_0      0100
				__Lrbit_1      rbit_1      0500  __Lrbit_2      rbit_2      0880
				__Lrbit_3      rbit_3      0C80  __Lrbss_0      rbss_0      0020
				__Lrbss_1      rbss_1      00A0  __Lrbss_2      rbss_2      0110
				__Lrbss_3      rbss_3      0190  __Lrdata_0     rdata_0     0025
				__Lrdata_1     rdata_1     00A0  __Lrdata_2     rdata_2     0110
				__Lrdata_3     rdata_3     0190  __Lstrings     strings     0029
				__Lstringtable stringtable 0029  __Lstruct      struct      0027
				__Ltemp        temp        0070  __Ltext        text        0190
				__Lvectors     vectors     0029  __S0           (abs)       2100
				__S1           (abs)       0190  _exit          init        001A
				_flag          rbss_0      0020  _i             rbss_0      0021
				_initial       text0       0771  _main          text0       077A
				_recdata       rbss_0      0022  _sciinitial    text0       075C
				_send_serial   text0       074F  clear_bank0    init        001A
				clear_ram      clrtext     0025  int_entry      intentry    0004
				int_func       intcode     000B  int_restore    intret      0015
				intlevel0      intentry    0004  intlevel1      intentry    0004
				powerup        powerup     0000  start          init        001A
							

相关资源