opt subtitle "HI-TECH Software Omniscient Code Generator (Lite mode) build 10920"

opt pagewidth 120

	opt lm

	processor	16F877A
clrc	macro
	bcf	3,0
	endm
clrz	macro
	bcf	3,2
	endm
setc	macro
	bsf	3,0
	endm
setz	macro
	bsf	3,2
	endm
skipc	macro
	btfss	3,0
	endm
skipz	macro
	btfss	3,2
	endm
skipnc	macro
	btfsc	3,0
	endm
skipnz	macro
	btfsc	3,2
	endm
indf	equ	0
indf0	equ	0
pc	equ	2
pcl	equ	2
status	equ	3
fsr	equ	4
fsr0	equ	4
c	equ	1
z	equ	0
pclath	equ	10
	FNCALL	_main,_DeviceInit
	FNCALL	_main,_Tlcd_init
	FNCALL	_main,_bsp_ds18b20_gpio_init
	FNCALL	_main,_flilflop_Enable
	FNCALL	_main,_read_ds18b20_temperature
	FNCALL	_main,___lwtoft
	FNCALL	_main,___ftmul
	FNCALL	_main,___fttol
	FNCALL	_main,_clcd_line1
	FNCALL	_main,_string_out
	FNCALL	_main,_clcd_line2
	FNCALL	_main,_int_display
	FNCALL	_read_ds18b20_temperature,_ds18b20_init
	FNCALL	_read_ds18b20_temperature,_ds18b20_writeB
	FNCALL	_read_ds18b20_temperature,_ds18b20_readB
	FNCALL	_int_display,___awmod
	FNCALL	_int_display,___awdiv
	FNCALL	_int_display,_dsp_str_TLCD
	FNCALL	_string_out,_dsp_str_TLCD
	FNCALL	_Tlcd_init,_dsp_cmd_TLCD
	FNCALL	_clcd_line2,_dsp_cmd_TLCD
	FNCALL	_clcd_line1,_dsp_cmd_TLCD
	FNCALL	___lwtoft,___ftpack
	FNCALL	___ftmul,___ftpack
	FNCALL	_DeviceInit,_flilflop_Enable
	FNCALL	_dsp_cmd_TLCD,_flilflop_Enable
	FNCALL	_dsp_str_TLCD,_flilflop_Enable
	FNROOT	_main
	global	_Number
psect	idataBANK0,class=CODE,space=0,delta=2
global __pidataBANK0
__pidataBANK0:
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	39

;initializer for _Number
	retlw	030h
	retlw	031h
	retlw	032h
	retlw	033h
	retlw	034h
	retlw	035h
	retlw	036h
	retlw	037h
	retlw	038h
	retlw	039h
	global	_str
psect	strings,class=STRING,delta=2
global __pstrings
__pstrings:
;	global	stringdir,stringtab,__stringbase
stringtab:
;	String table - string pointers are 1 byte each
stringcode:stringdir:
movlw high(stringdir)
movwf pclath
movf fsr,w
incf fsr
	addwf pc
__stringbase:
	retlw	0
psect	strings
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	36
_str:
	retlw	044h
	retlw	053h
	retlw	031h
	retlw	038h
	retlw	042h
	retlw	032h
	retlw	030h
	retlw	020h
	retlw	054h
	retlw	068h
	retlw	065h
	retlw	072h
	retlw	06Dh
	retlw	069h
	retlw	020h
	retlw	020h
	global	_str
	global	_TlcdCon
	global	dsp_cmd_TLCD@buff_con
	global	dsp_str_TLCD@buff_con
	global	_PORTA
_PORTA	set	5
	global	_PORTB
_PORTB	set	6
	global	_PORTC
_PORTC	set	7
	global	_PORTD
_PORTD	set	8
	global	_PORTE
_PORTE	set	9
	global	_TXREG
_TXREG	set	25
	global	_CARRY
_CARRY	set	24
	global	_GIE
_GIE	set	95
	global	_ADCON1
_ADCON1	set	159
	global	_TRISA
_TRISA	set	133
	global	_TRISB
_TRISB	set	134
	global	_TRISC
_TRISC	set	135
	global	_TRISD
_TRISD	set	136
	global	_TRISE
_TRISE	set	137
	global	_TRMT
_TRMT	set	1217
	global	_EEADR
_EEADR	set	269
	global	_EEDATA
_EEDATA	set	268
	global	_EECON1
_EECON1	set	396
	global	_EECON2
_EECON2	set	397
	global	_RD
_RD	set	3168
	global	_WR
_WR	set	3169
	global	_WREN
_WREN	set	3170
	
STR_1:	
	retlw	80	;'P'
	retlw	73	;'I'
	retlw	67	;'C'
	retlw	49	;'1'
	retlw	54	;'6'
	retlw	70	;'F'
	retlw	32	;' '
	retlw	84	;'T'
	retlw	114	;'r'
	retlw	97	;'a'
	retlw	105	;'i'
	retlw	110	;'n'
	retlw	105	;'i'
	retlw	110	;'n'
	retlw	103	;'g'
	retlw	0
psect	strings
	
STR_2:	
	retlw	68	;'D'
	retlw	83	;'S'
	retlw	49	;'1'
	retlw	56	;'8'
	retlw	66	;'B'
	retlw	50	;'2'
	retlw	48	;'0'
	retlw	32	;' '
	retlw	118	;'v'
	retlw	97	;'a'
	retlw	108	;'l'
	retlw	58	;':'
	retlw	0
psect	strings
	file	"Test.as"
	line	#
psect cinit,class=CODE,delta=2
global start_initialization
start_initialization:

psect	bssBANK0,class=BANK0,space=1
global __pbssBANK0
__pbssBANK0:
_TlcdCon:
       ds      1

dsp_cmd_TLCD@buff_con:
       ds      1

dsp_str_TLCD@buff_con:
       ds      1

psect	dataBANK0,class=BANK0,space=1
global __pdataBANK0
__pdataBANK0:
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	39
_Number:
       ds      10

; Clear objects allocated to BANK0
psect cinit,class=CODE,delta=2
	clrf	((__pbssBANK0)+0)&07Fh
	clrf	((__pbssBANK0)+1)&07Fh
	clrf	((__pbssBANK0)+2)&07Fh
global btemp
psect inittext,class=CODE,delta=2
global init_fetch,btemp
;	Called with low address in FSR and high address in W
init_fetch:
	movf btemp,w
	movwf pclath
	movf btemp+1,w
	movwf pc
global init_ram
;Called with:
;	high address of idata address in btemp 
;	low address of idata address in btemp+1 
;	low address of data in FSR
;	high address + 1 of data in btemp-1
init_ram:
	fcall init_fetch
	movwf indf,f
	incf fsr,f
	movf fsr,w
	xorwf btemp-1,w
	btfsc status,2
	retlw 0
	incf btemp+1,f
	btfsc status,2
	incf btemp,f
	goto init_ram
; Initialize objects allocated to BANK0
psect cinit,class=CODE,delta=2
global init_ram, __pidataBANK0
	bcf	status, 7	;select IRP bank0
	movlw low(__pdataBANK0+10)
	movwf btemp-1,f
	movlw high(__pidataBANK0)
	movwf btemp,f
	movlw low(__pidataBANK0)
	movwf btemp+1,f
	movlw low(__pdataBANK0)
	movwf fsr,f
	fcall init_ram
psect cinit,class=CODE,delta=2
global end_of_initialization

;End of C runtime variable initialization code

end_of_initialization:
clrf status
ljmp _main	;jump to C main() function
psect	cstackCOMMON,class=COMMON,space=1
global __pcstackCOMMON
__pcstackCOMMON:
	global	?_flilflop_Enable
?_flilflop_Enable:	; 0 bytes @ 0x0
	global	?_dsp_str_TLCD
?_dsp_str_TLCD:	; 0 bytes @ 0x0
	global	?_dsp_cmd_TLCD
?_dsp_cmd_TLCD:	; 0 bytes @ 0x0
	global	?_clcd_line1
?_clcd_line1:	; 0 bytes @ 0x0
	global	?_clcd_line2
?_clcd_line2:	; 0 bytes @ 0x0
	global	?_Tlcd_init
?_Tlcd_init:	; 0 bytes @ 0x0
	global	?_string_out
?_string_out:	; 0 bytes @ 0x0
	global	?_ds18b20_init
?_ds18b20_init:	; 0 bytes @ 0x0
	global	??_ds18b20_init
??_ds18b20_init:	; 0 bytes @ 0x0
	global	??_ds18b20_readB
??_ds18b20_readB:	; 0 bytes @ 0x0
	global	?_ds18b20_writeB
?_ds18b20_writeB:	; 0 bytes @ 0x0
	global	??_ds18b20_writeB
??_ds18b20_writeB:	; 0 bytes @ 0x0
	global	?_bsp_ds18b20_gpio_init
?_bsp_ds18b20_gpio_init:	; 0 bytes @ 0x0
	global	??_bsp_ds18b20_gpio_init
??_bsp_ds18b20_gpio_init:	; 0 bytes @ 0x0
	global	?_DeviceInit
?_DeviceInit:	; 0 bytes @ 0x0
	global	?_main
?_main:	; 0 bytes @ 0x0
	global	?_ds18b20_readB
?_ds18b20_readB:	; 1 bytes @ 0x0
	global	?___awmod
?___awmod:	; 2 bytes @ 0x0
	global	?___ftpack
?___ftpack:	; 3 bytes @ 0x0
	global	?___fttol
?___fttol:	; 4 bytes @ 0x0
	global	flilflop_Enable@OuputData
flilflop_Enable@OuputData:	; 1 bytes @ 0x0
	global	___awmod@divisor
___awmod@divisor:	; 2 bytes @ 0x0
	global	___fttol@f1
___fttol@f1:	; 3 bytes @ 0x0
	global	___ftpack@arg
___ftpack@arg:	; 3 bytes @ 0x0
	ds	1
	global	??_flilflop_Enable
??_flilflop_Enable:	; 0 bytes @ 0x1
	global	ds18b20_readB@retd
ds18b20_readB@retd:	; 1 bytes @ 0x1
	global	ds18b20_writeB@wrd
ds18b20_writeB@wrd:	; 1 bytes @ 0x1
	ds	1
	global	flilflop_Enable@Add
flilflop_Enable@Add:	; 1 bytes @ 0x2
	global	ds18b20_readB@i
ds18b20_readB@i:	; 1 bytes @ 0x2
	global	ds18b20_writeB@i
ds18b20_writeB@i:	; 1 bytes @ 0x2
	global	___awmod@dividend
___awmod@dividend:	; 2 bytes @ 0x2
	ds	1
	global	??_dsp_str_TLCD
??_dsp_str_TLCD:	; 0 bytes @ 0x3
	global	??_dsp_cmd_TLCD
??_dsp_cmd_TLCD:	; 0 bytes @ 0x3
	global	??_DeviceInit
??_DeviceInit:	; 0 bytes @ 0x3
	global	?_read_ds18b20_temperature
?_read_ds18b20_temperature:	; 2 bytes @ 0x3
	global	___ftpack@exp
___ftpack@exp:	; 1 bytes @ 0x3
	ds	1
	global	??___fttol
??___fttol:	; 0 bytes @ 0x4
	global	??___awmod
??___awmod:	; 0 bytes @ 0x4
	global	___ftpack@sign
___ftpack@sign:	; 1 bytes @ 0x4
	ds	1
	global	??___ftpack
??___ftpack:	; 0 bytes @ 0x5
	global	??_read_ds18b20_temperature
??_read_ds18b20_temperature:	; 0 bytes @ 0x5
	global	dsp_str_TLCD@n
dsp_str_TLCD@n:	; 1 bytes @ 0x5
	global	dsp_cmd_TLCD@n
dsp_cmd_TLCD@n:	; 1 bytes @ 0x5
	global	___awmod@counter
___awmod@counter:	; 1 bytes @ 0x5
	ds	1
	global	??_clcd_line1
??_clcd_line1:	; 0 bytes @ 0x6
	global	??_clcd_line2
??_clcd_line2:	; 0 bytes @ 0x6
	global	??_Tlcd_init
??_Tlcd_init:	; 0 bytes @ 0x6
	global	??_string_out
??_string_out:	; 0 bytes @ 0x6
	global	___awmod@sign
___awmod@sign:	; 1 bytes @ 0x6
	global	string_out@i
string_out@i:	; 2 bytes @ 0x6
	ds	1
	global	?___awdiv
?___awdiv:	; 2 bytes @ 0x7
	global	___awdiv@divisor
___awdiv@divisor:	; 2 bytes @ 0x7
	ds	1
	global	?___lwtoft
?___lwtoft:	; 3 bytes @ 0x8
	global	string_out@str
string_out@str:	; 1 bytes @ 0x8
	global	___fttol@sign1
___fttol@sign1:	; 1 bytes @ 0x8
	global	___lwtoft@c
___lwtoft@c:	; 2 bytes @ 0x8
	ds	1
	global	read_ds18b20_temperature@tempcount
read_ds18b20_temperature@tempcount:	; 2 bytes @ 0x9
	global	___awdiv@dividend
___awdiv@dividend:	; 2 bytes @ 0x9
	global	___fttol@lval
___fttol@lval:	; 4 bytes @ 0x9
	ds	2
	global	??___awdiv
??___awdiv:	; 0 bytes @ 0xB
	global	??___lwtoft
??___lwtoft:	; 0 bytes @ 0xB
	global	read_ds18b20_temperature@templ
read_ds18b20_temperature@templ:	; 1 bytes @ 0xB
	ds	1
	global	??_int_display
??_int_display:	; 0 bytes @ 0xC
	global	read_ds18b20_temperature@temph
read_ds18b20_temperature@temph:	; 1 bytes @ 0xC
	ds	1
	global	___fttol@exp1
___fttol@exp1:	; 1 bytes @ 0xD
	ds	1
	global	??_main
??_main:	; 0 bytes @ 0xE
psect	cstackBANK0,class=BANK0,space=1
global __pcstackBANK0
__pcstackBANK0:
	global	?___ftmul
?___ftmul:	; 3 bytes @ 0x0
	global	___awdiv@counter
___awdiv@counter:	; 1 bytes @ 0x0
	global	___ftmul@f1
___ftmul@f1:	; 3 bytes @ 0x0
	ds	1
	global	___awdiv@sign
___awdiv@sign:	; 1 bytes @ 0x1
	ds	1
	global	___awdiv@quotient
___awdiv@quotient:	; 2 bytes @ 0x2
	ds	1
	global	___ftmul@f2
___ftmul@f2:	; 3 bytes @ 0x3
	ds	1
	global	?_int_display
?_int_display:	; 0 bytes @ 0x4
	global	int_display@i
int_display@i:	; 2 bytes @ 0x4
	ds	2
	global	??___ftmul
??___ftmul:	; 0 bytes @ 0x6
	global	int_display@j
int_display@j:	; 2 bytes @ 0x6
	ds	2
	global	int_display@k
int_display@k:	; 2 bytes @ 0x8
	ds	2
	global	___ftmul@exp
___ftmul@exp:	; 1 bytes @ 0xA
	global	int_display@l
int_display@l:	; 2 bytes @ 0xA
	ds	1
	global	___ftmul@f3_as_product
___ftmul@f3_as_product:	; 3 bytes @ 0xB
	ds	3
	global	___ftmul@cntr
___ftmul@cntr:	; 1 bytes @ 0xE
	ds	1
	global	___ftmul@sign
___ftmul@sign:	; 1 bytes @ 0xF
	ds	1
	global	main@k
main@k:	; 3 bytes @ 0x10
	ds	3
	global	main@j
main@j:	; 2 bytes @ 0x13
	ds	2
	global	main@temperature
main@temperature:	; 2 bytes @ 0x15
	ds	2
;;Data sizes: Strings 29, constant 16, data 10, bss 3, persistent 0 stack 0
;;Auto spaces:   Size  Autos    Used
;; COMMON          14     14      14
;; BANK0           80     23      36
;; BANK1           80      0       0
;; BANK3           96      0       0
;; BANK2           96      0       0

;;
;; Pointer list with targets:

;; ?___ftpack	float  size(1) Largest target is 0
;;
;; ?___fttol	long  size(1) Largest target is 0
;;
;; ?___ftmul	float  size(1) Largest target is 0
;;
;; ?___lwtoft	float  size(1) Largest target is 0
;;
;; ?_read_ds18b20_temperature	unsigned int  size(1) Largest target is 0
;;
;; ?___awdiv	int  size(1) Largest target is 0
;;
;; ?___awmod	int  size(1) Largest target is 0
;;
;; string_out@str	PTR unsigned char  size(1) Largest target is 16
;;		 -> STR_2(CODE[13]), STR_1(CODE[16]), 
;;


;;
;; Critical Paths under _main in COMMON
;;
;;   _main->___fttol
;;   _read_ds18b20_temperature->_ds18b20_writeB
;;   _read_ds18b20_temperature->_ds18b20_readB
;;   _int_display->___awdiv
;;   _string_out->_dsp_str_TLCD
;;   _Tlcd_init->_dsp_cmd_TLCD
;;   _clcd_line2->_dsp_cmd_TLCD
;;   _clcd_line1->_dsp_cmd_TLCD
;;   ___lwtoft->___ftpack
;;   ___ftmul->___lwtoft
;;   _DeviceInit->_flilflop_Enable
;;   _dsp_cmd_TLCD->_flilflop_Enable
;;   _dsp_str_TLCD->_flilflop_Enable
;;   ___awdiv->___awmod
;;
;; Critical Paths under _main in BANK0
;;
;;   _main->___ftmul
;;   _int_display->___awdiv
;;
;; Critical Paths under _main in BANK1
;;
;;   None.
;;
;; Critical Paths under _main in BANK3
;;
;;   None.
;;
;; Critical Paths under _main in BANK2
;;
;;   None.

;;
;;Main: autosize = 0, tempsize = 0, incstack = 0, save=0
;;

;;
;;Call Graph Tables:
;;
;; ---------------------------------------------------------------------------------
;; (Depth) Function   	        Calls       Base Space   Used Autos Params    Refs
;; ---------------------------------------------------------------------------------
;; (0) _main                                                 7     7      0    2648
;;                                             16 BANK0      7     7      0
;;                         _DeviceInit
;;                          _Tlcd_init
;;              _bsp_ds18b20_gpio_init
;;                    _flilflop_Enable
;;           _read_ds18b20_temperature
;;                           ___lwtoft
;;                            ___ftmul
;;                            ___fttol
;;                         _clcd_line1
;;                         _string_out
;;                         _clcd_line2
;;                        _int_display
;; ---------------------------------------------------------------------------------
;; (1) _read_ds18b20_temperature                            10     8      2     209
;;                                              3 COMMON    10     8      2
;;                       _ds18b20_init
;;                     _ds18b20_writeB
;;                      _ds18b20_readB
;; ---------------------------------------------------------------------------------
;; (1) _int_display                                          8     6      2     820
;;                                              4 BANK0      8     6      2
;;                            ___awmod
;;                            ___awdiv
;;                       _dsp_str_TLCD
;; ---------------------------------------------------------------------------------
;; (1) _string_out                                           3     3      0     177
;;                                              6 COMMON     3     3      0
;;                       _dsp_str_TLCD
;; ---------------------------------------------------------------------------------
;; (1) _Tlcd_init                                            2     2      0      88
;;                                              6 COMMON     2     2      0
;;                       _dsp_cmd_TLCD
;; ---------------------------------------------------------------------------------
;; (1) _clcd_line2                                           0     0      0      88
;;                       _dsp_cmd_TLCD
;; ---------------------------------------------------------------------------------
;; (1) _clcd_line1                                           0     0      0      88
;;                       _dsp_cmd_TLCD
;; ---------------------------------------------------------------------------------
;; (1) ___lwtoft                                             4     1      3     231
;;                                              8 COMMON     4     1      3
;;                           ___ftpack
;; ---------------------------------------------------------------------------------
;; (1) ___ftmul                                             16    10      6     535
;;                                              0 BANK0     16    10      6
;;                           ___ftpack
;;                           ___lwtoft (ARG)
;; ---------------------------------------------------------------------------------
;; (1) _DeviceInit                                           0     0      0      44
;;                    _flilflop_Enable
;; ---------------------------------------------------------------------------------
;; (2) _ds18b20_writeB                                       3     3      0      69
;;                                              0 COMMON     3     3      0
;; ---------------------------------------------------------------------------------
;; (2) _ds18b20_readB                                        3     3      0      71
;;                                              0 COMMON     3     3      0
;; ---------------------------------------------------------------------------------
;; (2) _ds18b20_init                                         2     2      0       0
;;                                              0 COMMON     2     2      0
;; ---------------------------------------------------------------------------------
;; (2) _dsp_cmd_TLCD                                         3     3      0      88
;;                                              3 COMMON     3     3      0
;;                    _flilflop_Enable
;; ---------------------------------------------------------------------------------
;; (2) _dsp_str_TLCD                                         3     3      0      88
;;                                              3 COMMON     3     3      0
;;                    _flilflop_Enable
;; ---------------------------------------------------------------------------------
;; (2) ___awmod                                              7     3      4     296
;;                                              0 COMMON     7     3      4
;; ---------------------------------------------------------------------------------
;; (2) ___awdiv                                              9     5      4     300
;;                                              7 COMMON     5     1      4
;;                                              0 BANK0      4     4      0
;;                            ___awmod (ARG)
;; ---------------------------------------------------------------------------------
;; (1) ___fttol                                             14    10      4     252
;;                                              0 COMMON    14    10      4
;; ---------------------------------------------------------------------------------
;; (2) ___ftpack                                             8     3      5     209
;;                                              0 COMMON     8     3      5
;; ---------------------------------------------------------------------------------
;; (1) _bsp_ds18b20_gpio_init                                0     0      0       0
;; ---------------------------------------------------------------------------------
;; (3) _flilflop_Enable                                      3     2      1      44
;;                                              0 COMMON     3     2      1
;; ---------------------------------------------------------------------------------
;; Estimated maximum stack depth 3
;; ---------------------------------------------------------------------------------

;; Call Graph Graphs:

;; _main (ROOT)
;;   _DeviceInit
;;     _flilflop_Enable
;;   _Tlcd_init
;;     _dsp_cmd_TLCD
;;       _flilflop_Enable
;;   _bsp_ds18b20_gpio_init
;;   _flilflop_Enable
;;   _read_ds18b20_temperature
;;     _ds18b20_init
;;     _ds18b20_writeB
;;     _ds18b20_readB
;;   ___lwtoft
;;     ___ftpack
;;   ___ftmul
;;     ___ftpack
;;     ___lwtoft (ARG)
;;       ___ftpack
;;   ___fttol
;;   _clcd_line1
;;     _dsp_cmd_TLCD
;;       _flilflop_Enable
;;   _string_out
;;     _dsp_str_TLCD
;;       _flilflop_Enable
;;   _clcd_line2
;;     _dsp_cmd_TLCD
;;       _flilflop_Enable
;;   _int_display
;;     ___awmod
;;     ___awdiv
;;       ___awmod (ARG)
;;     _dsp_str_TLCD
;;       _flilflop_Enable
;;

;; Address spaces:

;;Name               Size   Autos  Total    Cost      Usage
;;BANK3               60      0       0       9        0.0%
;;BITBANK3            60      0       0       8        0.0%
;;SFR3                 0      0       0       4        0.0%
;;BITSFR3              0      0       0       4        0.0%
;;BANK2               60      0       0      11        0.0%
;;BITBANK2            60      0       0      10        0.0%
;;SFR2                 0      0       0       5        0.0%
;;BITSFR2              0      0       0       5        0.0%
;;SFR1                 0      0       0       2        0.0%
;;BITSFR1              0      0       0       2        0.0%
;;BANK1               50      0       0       7        0.0%
;;BITBANK1            50      0       0       6        0.0%
;;CODE                 0      0       0       0        0.0%
;;DATA                 0      0      35      12        0.0%
;;ABS                  0      0      32       3        0.0%
;;NULL                 0      0       0       0        0.0%
;;STACK                0      0       3       2        0.0%
;;BANK0               50     17      24       5       45.0%
;;BITBANK0            50      0       0       4        0.0%
;;SFR0                 0      0       0       1        0.0%
;;BITSFR0              0      0       0       1        0.0%
;;COMMON               E      E       E       1      100.0%
;;BITCOMMON            E      0       0       0        0.0%
;;EEDATA             100      0       0       0        0.0%

	global	_main
psect	maintext,global,class=CODE,delta=2
global __pmaintext
__pmaintext:

;; *************** function _main *****************
;; Defined at:
;;		line 258 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  temperature     2   21[BANK0 ] unsigned int 
;;  k               3   16[BANK0 ] float 
;;  j               2   19[BANK0 ] unsigned int 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, fsr0l, fsr0h, status,2, status,0, btemp+1, pclath, cstack
;; Tracked objects:
;;		On entry : 17F/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       7       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       7       0       0       0
;;Total ram usage:        7 bytes
;; Hardware stack levels required when called:    3
;; This function calls:
;;		_DeviceInit
;;		_Tlcd_init
;;		_bsp_ds18b20_gpio_init
;;		_flilflop_Enable
;;		_read_ds18b20_temperature
;;		___lwtoft
;;		___ftmul
;;		___fttol
;;		_clcd_line1
;;		_string_out
;;		_clcd_line2
;;		_int_display
;; This function is called by:
;;		Startup code after reset
;; This function uses a non-reentrant model
;;
psect	maintext
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	258
	global	__size_of_main
	__size_of_main	equ	__end_of_main-_main
	
_main:	
	opt	stack 5
; Regs used in _main: [wreg-fsr0h+status,2+status,0+btemp+1+pclath+cstack]
	line	259
	
l3634:	
;test_all_code.c: 259: float k = 0;
	movlw	0x0
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(main@k)
	movlw	0x0
	movwf	(main@k+1)
	movlw	0x0
	movwf	(main@k+2)
	line	260
	
l3636:	
;test_all_code.c: 260: unsigned int j = 0;
	clrf	(main@j)
	clrf	(main@j+1)
	line	262
	
l3638:	
;test_all_code.c: 262: ADCON1 = 0X06;
	movlw	(06h)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(159)^080h	;volatile
	line	263
	
l3640:	
;test_all_code.c: 263: TRISA = 0X04;
	movlw	(04h)
	movwf	(133)^080h	;volatile
	line	264
	
l3642:	
;test_all_code.c: 264: TRISB = 0X01;
	movlw	(01h)
	movwf	(134)^080h	;volatile
	line	265
;test_all_code.c: 265: PORTB = 0X00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(6)	;volatile
	line	266
	
l3644:	
;test_all_code.c: 266: TRISC = 0x80;
	movlw	(080h)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(135)^080h	;volatile
	line	267
	
l3646:	
;test_all_code.c: 267: PORTC = 0X00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(7)	;volatile
	line	268
	
l3648:	
;test_all_code.c: 268: TRISD = 0X00;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	clrf	(136)^080h	;volatile
	line	269
	
l3650:	
;test_all_code.c: 269: PORTD = 0X00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(8)	;volatile
	line	270
	
l3652:	
;test_all_code.c: 270: TRISE = 0X00;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	clrf	(137)^080h	;volatile
	line	271
	
l3654:	
;test_all_code.c: 271: PORTE = 0X00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(9)	;volatile
	line	273
	
l3656:	
;test_all_code.c: 273: DeviceInit();
	fcall	_DeviceInit
	line	274
	
l3658:	
;test_all_code.c: 274: Tlcd_init();
	fcall	_Tlcd_init
	line	275
	
l3660:	
;test_all_code.c: 275: bsp_ds18b20_gpio_init();
	fcall	_bsp_ds18b20_gpio_init
	line	276
	
l3662:	
;test_all_code.c: 276: flilflop_Enable(0X00, 0x00);
	clrf	(?_flilflop_Enable)
	movlw	(0)
	fcall	_flilflop_Enable
	goto	l3664
	line	277
;test_all_code.c: 277: while (1)
	
l766:	
	line	279
	
l3664:	
;test_all_code.c: 278: {
;test_all_code.c: 279: unsigned int temperature = 0;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(main@temperature)
	clrf	(main@temperature+1)
	line	280
	
l3666:	
;test_all_code.c: 280: temperature = read_ds18b20_temperature();
	fcall	_read_ds18b20_temperature
	movf	(1+(?_read_ds18b20_temperature)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(main@temperature+1)
	addwf	(main@temperature+1)
	movf	(0+(?_read_ds18b20_temperature)),w
	clrf	(main@temperature)
	addwf	(main@temperature)

	line	281
	
l3668:	
;test_all_code.c: 281: k = temperature * 0.625;
	movlw	0x0
	movwf	(?___ftmul)
	movlw	0x20
	movwf	(?___ftmul+1)
	movlw	0x3f
	movwf	(?___ftmul+2)
	movf	(main@temperature+1),w
	clrf	(?___lwtoft+1)
	addwf	(?___lwtoft+1)
	movf	(main@temperature),w
	clrf	(?___lwtoft)
	addwf	(?___lwtoft)

	fcall	___lwtoft
	movf	(0+(?___lwtoft)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	0+(?___ftmul)+03h
	movf	(1+(?___lwtoft)),w
	movwf	1+(?___ftmul)+03h
	movf	(2+(?___lwtoft)),w
	movwf	2+(?___ftmul)+03h
	fcall	___ftmul
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftmul)),w
	movwf	(main@k)
	movf	(1+(?___ftmul)),w
	movwf	(main@k+1)
	movf	(2+(?___ftmul)),w
	movwf	(main@k+2)
	line	282
	
l3670:	
;test_all_code.c: 282: j = k;
	movf	(main@k),w
	movwf	(?___fttol)
	movf	(main@k+1),w
	movwf	(?___fttol+1)
	movf	(main@k+2),w
	movwf	(?___fttol+2)
	fcall	___fttol
	movf	1+(((0+(?___fttol)))),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(main@j+1)
	addwf	(main@j+1)
	movf	0+(((0+(?___fttol)))),w
	clrf	(main@j)
	addwf	(main@j)

	line	283
	
l3672:	
;test_all_code.c: 283: clcd_line1();
	fcall	_clcd_line1
	line	284
	
l3674:	
;test_all_code.c: 284: string_out("PIC16F Training");
	movlw	((STR_1-__stringbase))&0ffh
	fcall	_string_out
	line	285
	
l3676:	
;test_all_code.c: 285: clcd_line2();
	fcall	_clcd_line2
	line	286
	
l3678:	
;test_all_code.c: 286: string_out("DS18B20 val:");int_display(j);
	movlw	((STR_2-__stringbase))&0ffh
	fcall	_string_out
	
l3680:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@j+1),w
	clrf	(?_int_display+1)
	addwf	(?_int_display+1)
	movf	(main@j),w
	clrf	(?_int_display)
	addwf	(?_int_display)

	fcall	_int_display
	goto	l3664
	line	287
	
l767:	
	line	277
	goto	l3664
	
l768:	
	line	288
	
l769:	
	global	start
	ljmp	start
	opt stack 0
GLOBAL	__end_of_main
	__end_of_main:
;; =============== function _main ends ============

	signat	_main,88
	global	_read_ds18b20_temperature
psect	text439,local,class=CODE,delta=2
global __ptext439
__ptext439:

;; *************** function _read_ds18b20_temperature *****************
;; Defined at:
;;		line 209 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  tempcount       2    9[COMMON] unsigned int 
;;  temph           1   12[COMMON] unsigned char 
;;  templ           1   11[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  2    3[COMMON] unsigned int 
;; Registers used:
;;		wreg, status,2, status,0, btemp+1, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         2       0       0       0       0
;;      Locals:         4       0       0       0       0
;;      Temps:          4       0       0       0       0
;;      Totals:        10       0       0       0       0
;;Total ram usage:       10 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_ds18b20_init
;;		_ds18b20_writeB
;;		_ds18b20_readB
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text439
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	209
	global	__size_of_read_ds18b20_temperature
	__size_of_read_ds18b20_temperature	equ	__end_of_read_ds18b20_temperature-_read_ds18b20_temperature
	
_read_ds18b20_temperature:	
	opt	stack 6
; Regs used in _read_ds18b20_temperature: [wreg+status,2+status,0+btemp+1+pclath+cstack]
	line	213
	
l3626:	
;test_all_code.c: 210: unsigned char templ,temph;
;test_all_code.c: 211: unsigned int tempcount;
;test_all_code.c: 213: ds18b20_init();
	fcall	_ds18b20_init
	line	214
;test_all_code.c: 214: ds18b20_writeB(0xcc);
	movlw	(0CCh)
	fcall	_ds18b20_writeB
	line	215
;test_all_code.c: 215: ds18b20_writeB(0x44);
	movlw	(044h)
	fcall	_ds18b20_writeB
	line	216
;test_all_code.c: 216: ds18b20_init();
	fcall	_ds18b20_init
	line	217
;test_all_code.c: 217: ds18b20_writeB(0xcc);
	movlw	(0CCh)
	fcall	_ds18b20_writeB
	line	218
;test_all_code.c: 218: ds18b20_writeB(0xbe);
	movlw	(0BEh)
	fcall	_ds18b20_writeB
	line	219
;test_all_code.c: 219: templ=ds18b20_readB();
	fcall	_ds18b20_readB
	movwf	(??_read_ds18b20_temperature+0)+0
	movf	(??_read_ds18b20_temperature+0)+0,w
	movwf	(read_ds18b20_temperature@templ)
	line	220
;test_all_code.c: 220: temph=ds18b20_readB();
	fcall	_ds18b20_readB
	movwf	(??_read_ds18b20_temperature+0)+0
	movf	(??_read_ds18b20_temperature+0)+0,w
	movwf	(read_ds18b20_temperature@temph)
	line	221
	
l3628:	
;test_all_code.c: 221: tempcount=(temph<<8)|templ;
	movf	(read_ds18b20_temperature@templ),w
	movwf	(??_read_ds18b20_temperature+0)+0
	clrf	(??_read_ds18b20_temperature+0)+0+1
	movf	(read_ds18b20_temperature@temph),w
	movwf	(??_read_ds18b20_temperature+2)+0
	clrf	(??_read_ds18b20_temperature+2)+0+1
	movf	(??_read_ds18b20_temperature+2)+0,w
	movwf	(??_read_ds18b20_temperature+2)+1
	clrf	(??_read_ds18b20_temperature+2)+0
	movf	0+(??_read_ds18b20_temperature+0)+0,w
	iorwf	0+(??_read_ds18b20_temperature+2)+0,w
	movwf	(read_ds18b20_temperature@tempcount)
	movf	1+(??_read_ds18b20_temperature+0)+0,w
	iorwf	1+(??_read_ds18b20_temperature+2)+0,w
	movwf	1+(read_ds18b20_temperature@tempcount)
	line	223
	
l3630:	
;test_all_code.c: 223: return(tempcount);
	movf	(read_ds18b20_temperature@tempcount+1),w
	clrf	(?_read_ds18b20_temperature+1)
	addwf	(?_read_ds18b20_temperature+1)
	movf	(read_ds18b20_temperature@tempcount),w
	clrf	(?_read_ds18b20_temperature)
	addwf	(?_read_ds18b20_temperature)

	goto	l745
	
l3632:	
	line	224
	
l745:	
	return
	opt stack 0
GLOBAL	__end_of_read_ds18b20_temperature
	__end_of_read_ds18b20_temperature:
;; =============== function _read_ds18b20_temperature ends ============

	signat	_read_ds18b20_temperature,90
	global	_int_display
psect	text440,local,class=CODE,delta=2
global __ptext440
__ptext440:

;; *************** function _int_display *****************
;; Defined at:
;;		line 120 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  i               2    4[BANK0 ] int 
;; Auto vars:     Size  Location     Type
;;  l               2   10[BANK0 ] int 
;;  k               2    8[BANK0 ] int 
;;  j               2    6[BANK0 ] int 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, fsr0l, fsr0h, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       2       0       0       0
;;      Locals:         0       6       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       8       0       0       0
;;Total ram usage:        8 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		___awmod
;;		___awdiv
;;		_dsp_str_TLCD
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text440
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	120
	global	__size_of_int_display
	__size_of_int_display	equ	__end_of_int_display-_int_display
	
_int_display:	
	opt	stack 5
; Regs used in _int_display: [wreg-fsr0h+status,2+status,0+pclath+cstack]
	line	121
	
l3610:	
;test_all_code.c: 121: int j, k, l = 0;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(int_display@l)
	clrf	(int_display@l+1)
	line	122
	
l3612:	
;test_all_code.c: 122: j = (i % 1000) / 100;
	movlw	low(064h)
	movwf	(?___awdiv)
	movlw	high(064h)
	movwf	((?___awdiv))+1
	movf	(int_display@i+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(int_display@i),w
	clrf	0+(?___awmod)+02h
	addwf	0+(?___awmod)+02h

	movlw	low(03E8h)
	movwf	(?___awmod)
	movlw	high(03E8h)
	movwf	((?___awmod))+1
	fcall	___awmod
	movf	(1+(?___awmod)),w
	clrf	1+(?___awdiv)+02h
	addwf	1+(?___awdiv)+02h
	movf	(0+(?___awmod)),w
	clrf	0+(?___awdiv)+02h
	addwf	0+(?___awdiv)+02h

	fcall	___awdiv
	movf	(1+(?___awdiv)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(int_display@j+1)
	addwf	(int_display@j+1)
	movf	(0+(?___awdiv)),w
	clrf	(int_display@j)
	addwf	(int_display@j)

	line	123
	
l3614:	
;test_all_code.c: 123: k = (i % 100) / 10;
	movlw	low(0Ah)
	movwf	(?___awdiv)
	movlw	high(0Ah)
	movwf	((?___awdiv))+1
	movf	(int_display@i+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(int_display@i),w
	clrf	0+(?___awmod)+02h
	addwf	0+(?___awmod)+02h

	movlw	low(064h)
	movwf	(?___awmod)
	movlw	high(064h)
	movwf	((?___awmod))+1
	fcall	___awmod
	movf	(1+(?___awmod)),w
	clrf	1+(?___awdiv)+02h
	addwf	1+(?___awdiv)+02h
	movf	(0+(?___awmod)),w
	clrf	0+(?___awdiv)+02h
	addwf	0+(?___awdiv)+02h

	fcall	___awdiv
	movf	(1+(?___awdiv)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(int_display@k+1)
	addwf	(int_display@k+1)
	movf	(0+(?___awdiv)),w
	clrf	(int_display@k)
	addwf	(int_display@k)

	line	124
	
l3616:	
;test_all_code.c: 124: l = i % 10 ;
	movlw	low(0Ah)
	movwf	(?___awmod)
	movlw	high(0Ah)
	movwf	((?___awmod))+1
	movf	(int_display@i+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(int_display@i),w
	clrf	0+(?___awmod)+02h
	addwf	0+(?___awmod)+02h

	fcall	___awmod
	movf	(1+(?___awmod)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(int_display@l+1)
	addwf	(int_display@l+1)
	movf	(0+(?___awmod)),w
	clrf	(int_display@l)
	addwf	(int_display@l)

	line	126
	
l3618:	
;test_all_code.c: 126: dsp_str_TLCD(Number[j]);
	movf	(int_display@j),w
	addlw	_Number&0ffh
	movwf	fsr0
	bcf	status, 7	;select IRP bank0
	movf	indf,w
	fcall	_dsp_str_TLCD
	line	127
	
l3620:	
;test_all_code.c: 127: dsp_str_TLCD(Number[k]);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(int_display@k),w
	addlw	_Number&0ffh
	movwf	fsr0
	bcf	status, 7	;select IRP bank0
	movf	indf,w
	fcall	_dsp_str_TLCD
	line	128
	
l3622:	
;test_all_code.c: 128: dsp_str_TLCD('.');
	movlw	(02Eh)
	fcall	_dsp_str_TLCD
	line	129
	
l3624:	
;test_all_code.c: 129: dsp_str_TLCD(Number[l]);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(int_display@l),w
	addlw	_Number&0ffh
	movwf	fsr0
	bcf	status, 7	;select IRP bank0
	movf	indf,w
	fcall	_dsp_str_TLCD
	line	130
	
l720:	
	return
	opt stack 0
GLOBAL	__end_of_int_display
	__end_of_int_display:
;; =============== function _int_display ends ============

	signat	_int_display,4216
	global	_string_out
psect	text441,local,class=CODE,delta=2
global __ptext441
__ptext441:

;; *************** function _string_out *****************
;; Defined at:
;;		line 112 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  str             1    wreg     PTR unsigned char 
;;		 -> STR_2(13), STR_1(16), 
;; Auto vars:     Size  Location     Type
;;  str             1    8[COMMON] PTR unsigned char 
;;		 -> STR_2(13), STR_1(16), 
;;  i               2    6[COMMON] unsigned int 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, fsr0l, fsr0h, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         3       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_dsp_str_TLCD
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text441
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	112
	global	__size_of_string_out
	__size_of_string_out	equ	__end_of_string_out-_string_out
	
_string_out:	
	opt	stack 5
; Regs used in _string_out: [wreg-fsr0h+status,2+status,0+pclath+cstack]
;string_out@str stored from wreg
	movwf	(string_out@str)
	line	113
	
l3604:	
;test_all_code.c: 113: unsigned int i=0;
	clrf	(string_out@i)
	clrf	(string_out@i+1)
	goto	l3606
	line	114
;test_all_code.c: 114: do{
	
l715:	
	line	115
	
l3606:	
;test_all_code.c: 115: dsp_str_TLCD(str[i]);
	movf	(string_out@i),w
	addwf	(string_out@str),w
	movwf	fsr0
	fcall	stringdir
	fcall	_dsp_str_TLCD
	line	117
	
l3608:	
;test_all_code.c: 116: }
;test_all_code.c: 117: while(str[++i]!='\0');
	movlw	low(01h)
	addwf	(string_out@i),f
	skipnc
	incf	(string_out@i+1),f
	movlw	high(01h)
	addwf	(string_out@i+1),f
	movf	((string_out@i)),w
	addwf	(string_out@str),w
	movwf	fsr0
	fcall	stringdir
	iorlw	0
	skipz
	goto	u3381
	goto	u3380
u3381:
	goto	l3606
u3380:
	goto	l717
	
l716:	
	line	118
	
l717:	
	return
	opt stack 0
GLOBAL	__end_of_string_out
	__end_of_string_out:
;; =============== function _string_out ends ============

	signat	_string_out,4216
	global	_Tlcd_init
psect	text442,local,class=CODE,delta=2
global __ptext442
__ptext442:

;; *************** function _Tlcd_init *****************
;; Defined at:
;;		line 97 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          2       0       0       0       0
;;      Totals:         2       0       0       0       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_dsp_cmd_TLCD
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text442
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	97
	global	__size_of_Tlcd_init
	__size_of_Tlcd_init	equ	__end_of_Tlcd_init-_Tlcd_init
	
_Tlcd_init:	
	opt	stack 5
; Regs used in _Tlcd_init: [wreg+status,2+status,0+pclath+cstack]
	line	98
	
l3590:	
;test_all_code.c: 98: _delay((unsigned long)((30)*(16000000/4000.0)));
	opt asmopt_off
movlw	156
movwf	((??_Tlcd_init+0)+0+1),f
	movlw	215
movwf	((??_Tlcd_init+0)+0),f
u3397:
	decfsz	((??_Tlcd_init+0)+0),f
	goto	u3397
	decfsz	((??_Tlcd_init+0)+0+1),f
	goto	u3397
opt asmopt_on

	line	99
	
l3592:	
;test_all_code.c: 99: dsp_cmd_TLCD(0x30);
	movlw	(030h)
	fcall	_dsp_cmd_TLCD
	line	100
	
l3594:	
;test_all_code.c: 100: _delay((unsigned long)((5)*(16000000/4000.0)));
	opt asmopt_off
movlw	26
movwf	((??_Tlcd_init+0)+0+1),f
	movlw	248
movwf	((??_Tlcd_init+0)+0),f
u3407:
	decfsz	((??_Tlcd_init+0)+0),f
	goto	u3407
	decfsz	((??_Tlcd_init+0)+0+1),f
	goto	u3407
	clrwdt
opt asmopt_on

	line	101
;test_all_code.c: 101: dsp_cmd_TLCD(0x30);
	movlw	(030h)
	fcall	_dsp_cmd_TLCD
	line	102
	
l3596:	
;test_all_code.c: 102: _delay((unsigned long)((1)*(16000000/4000.0)));
	opt asmopt_off
movlw	6
movwf	((??_Tlcd_init+0)+0+1),f
	movlw	48
movwf	((??_Tlcd_init+0)+0),f
u3417:
	decfsz	((??_Tlcd_init+0)+0),f
	goto	u3417
	decfsz	((??_Tlcd_init+0)+0+1),f
	goto	u3417
	clrwdt
opt asmopt_on

	line	103
	
l3598:	
;test_all_code.c: 103: dsp_cmd_TLCD(0x30);
	movlw	(030h)
	fcall	_dsp_cmd_TLCD
	line	104
	
l3600:	
;test_all_code.c: 104: dsp_cmd_TLCD(0x20);
	movlw	(020h)
	fcall	_dsp_cmd_TLCD
	line	105
	
l3602:	
;test_all_code.c: 105: _delay((unsigned long)((1)*(16000000/4000.0)));
	opt asmopt_off
movlw	6
movwf	((??_Tlcd_init+0)+0+1),f
	movlw	48
movwf	((??_Tlcd_init+0)+0),f
u3427:
	decfsz	((??_Tlcd_init+0)+0),f
	goto	u3427
	decfsz	((??_Tlcd_init+0)+0+1),f
	goto	u3427
	clrwdt
opt asmopt_on

	line	106
;test_all_code.c: 106: dsp_cmd_TLCD(0x0c);
	movlw	(0Ch)
	fcall	_dsp_cmd_TLCD
	line	107
;test_all_code.c: 107: dsp_cmd_TLCD(0x14);
	movlw	(014h)
	fcall	_dsp_cmd_TLCD
	line	108
;test_all_code.c: 108: dsp_cmd_TLCD(0x06);
	movlw	(06h)
	fcall	_dsp_cmd_TLCD
	line	109
;test_all_code.c: 109: dsp_cmd_TLCD(0x01);
	movlw	(01h)
	fcall	_dsp_cmd_TLCD
	line	110
	
l712:	
	return
	opt stack 0
GLOBAL	__end_of_Tlcd_init
	__end_of_Tlcd_init:
;; =============== function _Tlcd_init ends ============

	signat	_Tlcd_init,88
	global	_clcd_line2
psect	text443,local,class=CODE,delta=2
global __ptext443
__ptext443:

;; *************** function _clcd_line2 *****************
;; Defined at:
;;		line 93 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_dsp_cmd_TLCD
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text443
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	93
	global	__size_of_clcd_line2
	__size_of_clcd_line2	equ	__end_of_clcd_line2-_clcd_line2
	
_clcd_line2:	
	opt	stack 5
; Regs used in _clcd_line2: [wreg+status,2+status,0+pclath+cstack]
	line	94
	
l3588:	
;test_all_code.c: 94: dsp_cmd_TLCD(0XC0);
	movlw	(0C0h)
	fcall	_dsp_cmd_TLCD
	line	95
	
l709:	
	return
	opt stack 0
GLOBAL	__end_of_clcd_line2
	__end_of_clcd_line2:
;; =============== function _clcd_line2 ends ============

	signat	_clcd_line2,88
	global	_clcd_line1
psect	text444,local,class=CODE,delta=2
global __ptext444
__ptext444:

;; *************** function _clcd_line1 *****************
;; Defined at:
;;		line 89 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_dsp_cmd_TLCD
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text444
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	89
	global	__size_of_clcd_line1
	__size_of_clcd_line1	equ	__end_of_clcd_line1-_clcd_line1
	
_clcd_line1:	
	opt	stack 5
; Regs used in _clcd_line1: [wreg+status,2+status,0+pclath+cstack]
	line	90
	
l3586:	
;test_all_code.c: 90: dsp_cmd_TLCD(0x80);
	movlw	(080h)
	fcall	_dsp_cmd_TLCD
	line	91
	
l706:	
	return
	opt stack 0
GLOBAL	__end_of_clcd_line1
	__end_of_clcd_line1:
;; =============== function _clcd_line1 ends ============

	signat	_clcd_line1,88
	global	___lwtoft
psect	text445,local,class=CODE,delta=2
global __ptext445
__ptext445:

;; *************** function ___lwtoft *****************
;; Defined at:
;;		line 29 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\lwtoft.c"
;; Parameters:    Size  Location     Type
;;  c               2    8[COMMON] unsigned int 
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  3    8[COMMON] float 
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         3       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         4       0       0       0       0
;;Total ram usage:        4 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		___ftpack
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text445
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\lwtoft.c"
	line	29
	global	__size_of___lwtoft
	__size_of___lwtoft	equ	__end_of___lwtoft-___lwtoft
	
___lwtoft:	
	opt	stack 6
; Regs used in ___lwtoft: [wreg+status,2+status,0+pclath+cstack]
	line	30
	
l3582:	
	movf	(___lwtoft@c),w
	movwf	(?___ftpack)
	movf	(___lwtoft@c+1),w
	movwf	(?___ftpack+1)
	clrf	(?___ftpack+2)
	movlw	(08Eh)
	movwf	(??___lwtoft+0)+0
	movf	(??___lwtoft+0)+0,w
	movwf	0+(?___ftpack)+03h
	clrf	0+(?___ftpack)+04h
	fcall	___ftpack
	movf	(0+(?___ftpack)),w
	movwf	(?___lwtoft)
	movf	(1+(?___ftpack)),w
	movwf	(?___lwtoft+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___lwtoft+2)
	goto	l1675
	
l3584:	
	line	31
	
l1675:	
	return
	opt stack 0
GLOBAL	__end_of___lwtoft
	__end_of___lwtoft:
;; =============== function ___lwtoft ends ============

	signat	___lwtoft,4219
	global	___ftmul
psect	text446,local,class=CODE,delta=2
global __ptext446
__ptext446:

;; *************** function ___ftmul *****************
;; Defined at:
;;		line 52 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftmul.c"
;; Parameters:    Size  Location     Type
;;  f1              3    0[BANK0 ] float 
;;  f2              3    3[BANK0 ] float 
;; Auto vars:     Size  Location     Type
;;  f3_as_produc    3   11[BANK0 ] unsigned um
;;  sign            1   15[BANK0 ] unsigned char 
;;  cntr            1   14[BANK0 ] unsigned char 
;;  exp             1   10[BANK0 ] unsigned char 
;; Return value:  Size  Location     Type
;;                  3    0[BANK0 ] float 
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       6       0       0       0
;;      Locals:         0       6       0       0       0
;;      Temps:          0       4       0       0       0
;;      Totals:         0      16       0       0       0
;;Total ram usage:       16 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		___ftpack
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text446
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftmul.c"
	line	52
	global	__size_of___ftmul
	__size_of___ftmul	equ	__end_of___ftmul-___ftmul
	
___ftmul:	
	opt	stack 6
; Regs used in ___ftmul: [wreg+status,2+status,0+pclath+cstack]
	line	56
	
l3532:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(___ftmul@f1),w
	movwf	((??___ftmul+0)+0)
	movf	(___ftmul@f1+1),w
	movwf	((??___ftmul+0)+0+1)
	movf	(___ftmul@f1+2),w
	movwf	((??___ftmul+0)+0+2)
	clrc
	rlf	(??___ftmul+0)+1,w
	rlf	(??___ftmul+0)+2,w
	movwf	(??___ftmul+3)+0
	movf	(??___ftmul+3)+0,w
	movwf	(___ftmul@exp)
	movf	((___ftmul@exp)),f
	skipz
	goto	u3241
	goto	u3240
u3241:
	goto	l3538
u3240:
	line	57
	
l3534:	
	movlw	0x0
	movwf	(?___ftmul)
	movlw	0x0
	movwf	(?___ftmul+1)
	movlw	0x0
	movwf	(?___ftmul+2)
	goto	l1551
	
l3536:	
	goto	l1551
	
l1550:	
	line	58
	
l3538:	
	movf	(___ftmul@f2),w
	movwf	((??___ftmul+0)+0)
	movf	(___ftmul@f2+1),w
	movwf	((??___ftmul+0)+0+1)
	movf	(___ftmul@f2+2),w
	movwf	((??___ftmul+0)+0+2)
	clrc
	rlf	(??___ftmul+0)+1,w
	rlf	(??___ftmul+0)+2,w
	movwf	(??___ftmul+3)+0
	movf	(??___ftmul+3)+0,w
	movwf	(___ftmul@sign)
	movf	((___ftmul@sign)),f
	skipz
	goto	u3251
	goto	u3250
u3251:
	goto	l3544
u3250:
	line	59
	
l3540:	
	movlw	0x0
	movwf	(?___ftmul)
	movlw	0x0
	movwf	(?___ftmul+1)
	movlw	0x0
	movwf	(?___ftmul+2)
	goto	l1551
	
l3542:	
	goto	l1551
	
l1552:	
	line	60
	
l3544:	
	movf	(___ftmul@sign),w
	addlw	07Bh
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	addwf	(___ftmul@exp),f
	line	61
	movf	(___ftmul@f1),w
	movwf	((??___ftmul+0)+0)
	movf	(___ftmul@f1+1),w
	movwf	((??___ftmul+0)+0+1)
	movf	(___ftmul@f1+2),w
	movwf	((??___ftmul+0)+0+2)
	movlw	010h
u3265:
	clrc
	rrf	(??___ftmul+0)+2,f
	rrf	(??___ftmul+0)+1,f
	rrf	(??___ftmul+0)+0,f
u3260:
	addlw	-1
	skipz
	goto	u3265
	movf	0+(??___ftmul+0)+0,w
	movwf	(??___ftmul+3)+0
	movf	(??___ftmul+3)+0,w
	movwf	(___ftmul@sign)
	line	62
	movf	(___ftmul@f2),w
	movwf	((??___ftmul+0)+0)
	movf	(___ftmul@f2+1),w
	movwf	((??___ftmul+0)+0+1)
	movf	(___ftmul@f2+2),w
	movwf	((??___ftmul+0)+0+2)
	movlw	010h
u3275:
	clrc
	rrf	(??___ftmul+0)+2,f
	rrf	(??___ftmul+0)+1,f
	rrf	(??___ftmul+0)+0,f
u3270:
	addlw	-1
	skipz
	goto	u3275
	movf	0+(??___ftmul+0)+0,w
	movwf	(??___ftmul+3)+0
	movf	(??___ftmul+3)+0,w
	xorwf	(___ftmul@sign),f
	line	63
	movlw	(080h)
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	andwf	(___ftmul@sign),f
	line	64
	
l3546:	
	bsf	(___ftmul@f1)+(15/8),(15)&7
	line	66
	
l3548:	
	bsf	(___ftmul@f2)+(15/8),(15)&7
	line	67
	
l3550:	
	movlw	0FFh
	andwf	(___ftmul@f2),f
	movlw	0FFh
	andwf	(___ftmul@f2+1),f
	movlw	0
	andwf	(___ftmul@f2+2),f
	line	68
	
l3552:	
	movlw	0
	movwf	(___ftmul@f3_as_product)
	movlw	0
	movwf	(___ftmul@f3_as_product+1)
	movlw	0
	movwf	(___ftmul@f3_as_product+2)
	line	69
	
l3554:	
	movlw	(07h)
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	movwf	(___ftmul@cntr)
	goto	l3556
	line	70
	
l1553:	
	line	71
	
l3556:	
	btfss	(___ftmul@f1),(0)&7
	goto	u3281
	goto	u3280
u3281:
	goto	l3560
u3280:
	line	72
	
l3558:	
	movf	(___ftmul@f2),w
	addwf	(___ftmul@f3_as_product),f
	movf	(___ftmul@f2+1),w
	clrz
	skipnc
	incf	(___ftmul@f2+1),w
	skipnz
	goto	u3291
	addwf	(___ftmul@f3_as_product+1),f
u3291:
	movf	(___ftmul@f2+2),w
	clrz
	skipnc
	incf	(___ftmul@f2+2),w
	skipnz
	goto	u3292
	addwf	(___ftmul@f3_as_product+2),f
u3292:

	goto	l3560
	
l1554:	
	line	73
	
l3560:	
	movlw	01h
u3305:
	clrc
	rrf	(___ftmul@f1+2),f
	rrf	(___ftmul@f1+1),f
	rrf	(___ftmul@f1),f
	addlw	-1
	skipz
	goto	u3305

	line	74
	
l3562:	
	movlw	01h
u3315:
	clrc
	rlf	(___ftmul@f2),f
	rlf	(___ftmul@f2+1),f
	rlf	(___ftmul@f2+2),f
	addlw	-1
	skipz
	goto	u3315
	line	75
	
l3564:	
	movlw	low(01h)
	subwf	(___ftmul@cntr),f
	btfss	status,2
	goto	u3321
	goto	u3320
u3321:
	goto	l3556
u3320:
	goto	l3566
	
l1555:	
	line	76
	
l3566:	
	movlw	(09h)
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	movwf	(___ftmul@cntr)
	goto	l3568
	line	77
	
l1556:	
	line	78
	
l3568:	
	btfss	(___ftmul@f1),(0)&7
	goto	u3331
	goto	u3330
u3331:
	goto	l3572
u3330:
	line	79
	
l3570:	
	movf	(___ftmul@f2),w
	addwf	(___ftmul@f3_as_product),f
	movf	(___ftmul@f2+1),w
	clrz
	skipnc
	incf	(___ftmul@f2+1),w
	skipnz
	goto	u3341
	addwf	(___ftmul@f3_as_product+1),f
u3341:
	movf	(___ftmul@f2+2),w
	clrz
	skipnc
	incf	(___ftmul@f2+2),w
	skipnz
	goto	u3342
	addwf	(___ftmul@f3_as_product+2),f
u3342:

	goto	l3572
	
l1557:	
	line	80
	
l3572:	
	movlw	01h
u3355:
	clrc
	rrf	(___ftmul@f1+2),f
	rrf	(___ftmul@f1+1),f
	rrf	(___ftmul@f1),f
	addlw	-1
	skipz
	goto	u3355

	line	81
	
l3574:	
	movlw	01h
u3365:
	clrc
	rrf	(___ftmul@f3_as_product+2),f
	rrf	(___ftmul@f3_as_product+1),f
	rrf	(___ftmul@f3_as_product),f
	addlw	-1
	skipz
	goto	u3365

	line	82
	
l3576:	
	movlw	low(01h)
	subwf	(___ftmul@cntr),f
	btfss	status,2
	goto	u3371
	goto	u3370
u3371:
	goto	l3568
u3370:
	goto	l3578
	
l1558:	
	line	83
	
l3578:	
	movf	(___ftmul@f3_as_product),w
	movwf	(?___ftpack)
	movf	(___ftmul@f3_as_product+1),w
	movwf	(?___ftpack+1)
	movf	(___ftmul@f3_as_product+2),w
	movwf	(?___ftpack+2)
	movf	(___ftmul@exp),w
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	movwf	0+(?___ftpack)+03h
	movf	(___ftmul@sign),w
	movwf	(??___ftmul+1)+0
	movf	(??___ftmul+1)+0,w
	movwf	0+(?___ftpack)+04h
	fcall	___ftpack
	movf	(0+(?___ftpack)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?___ftmul)
	movf	(1+(?___ftpack)),w
	movwf	(?___ftmul+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___ftmul+2)
	goto	l1551
	
l3580:	
	line	84
	
l1551:	
	return
	opt stack 0
GLOBAL	__end_of___ftmul
	__end_of___ftmul:
;; =============== function ___ftmul ends ============

	signat	___ftmul,8315
	global	_DeviceInit
psect	text447,local,class=CODE,delta=2
global __ptext447
__ptext447:

;; *************** function _DeviceInit *****************
;; Defined at:
;;		line 246 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_flilflop_Enable
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text447
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	246
	global	__size_of_DeviceInit
	__size_of_DeviceInit	equ	__end_of_DeviceInit-_DeviceInit
	
_DeviceInit:	
	opt	stack 6
; Regs used in _DeviceInit: [wreg+status,2+status,0+pclath+cstack]
	line	248
	
l3530:	
;test_all_code.c: 248: flilflop_Enable(0X00,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(0)
	fcall	_flilflop_Enable
	line	249
;test_all_code.c: 249: flilflop_Enable(0X01,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(01h)
	fcall	_flilflop_Enable
	line	250
;test_all_code.c: 250: flilflop_Enable(0X02,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(02h)
	fcall	_flilflop_Enable
	line	251
;test_all_code.c: 251: flilflop_Enable(0X03,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	252
;test_all_code.c: 252: flilflop_Enable(0X04,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(04h)
	fcall	_flilflop_Enable
	line	253
;test_all_code.c: 253: flilflop_Enable(0X05,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(05h)
	fcall	_flilflop_Enable
	line	254
;test_all_code.c: 254: flilflop_Enable(0X06,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(06h)
	fcall	_flilflop_Enable
	line	255
;test_all_code.c: 255: flilflop_Enable(0X07,0X00);
	clrf	(?_flilflop_Enable)
	movlw	(07h)
	fcall	_flilflop_Enable
	line	256
	
l763:	
	return
	opt stack 0
GLOBAL	__end_of_DeviceInit
	__end_of_DeviceInit:
;; =============== function _DeviceInit ends ============

	signat	_DeviceInit,88
	global	_ds18b20_writeB
psect	text448,local,class=CODE,delta=2
global __ptext448
__ptext448:

;; *************** function _ds18b20_writeB *****************
;; Defined at:
;;		line 185 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  wrd             1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  wrd             1    1[COMMON] unsigned char 
;;  i               1    2[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         2       0       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_read_ds18b20_temperature
;; This function uses a non-reentrant model
;;
psect	text448
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	185
	global	__size_of_ds18b20_writeB
	__size_of_ds18b20_writeB	equ	__end_of_ds18b20_writeB-_ds18b20_writeB
	
_ds18b20_writeB:	
	opt	stack 6
; Regs used in _ds18b20_writeB: [wreg+status,2+status,0]
;ds18b20_writeB@wrd stored from wreg
	line	187
	movwf	(ds18b20_writeB@wrd)
	
l3504:	
;test_all_code.c: 186: unsigned char i;
;test_all_code.c: 187: for(i=0;i<8;i++)
	clrf	(ds18b20_writeB@i)
	
l3506:	
	movlw	(08h)
	subwf	(ds18b20_writeB@i),w
	skipc
	goto	u3211
	goto	u3210
u3211:
	goto	l3510
u3210:
	goto	l3528
	
l3508:	
	goto	l3528
	line	188
	
l738:	
	line	189
	
l3510:	
;test_all_code.c: 188: {
;test_all_code.c: 189: TRISA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_writeB+0)+0
	movf	(??_ds18b20_writeB+0)+0,w
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	andwf	(133)^080h,f	;volatile
	line	190
;test_all_code.c: 190: PORTA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_writeB+0)+0
	movf	(??_ds18b20_writeB+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(5),f	;volatile
	line	191
	
l3512:	
;test_all_code.c: 191: _delay((unsigned long)((1*2)*(16000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	193
	
l3514:	
;test_all_code.c: 193: if(wrd&0x01)
	btfss	(ds18b20_writeB@wrd),(0)&7
	goto	u3221
	goto	u3220
u3221:
	goto	l3518
u3220:
	line	195
	
l3516:	
;test_all_code.c: 194: {
;test_all_code.c: 195: PORTA|=(1<<2);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(5)+(2/8),(2)&7	;volatile
	line	196
;test_all_code.c: 196: }
	goto	l3520
	line	197
	
l740:	
	line	199
	
l3518:	
;test_all_code.c: 197: else
;test_all_code.c: 198: {
;test_all_code.c: 199: PORTA&=~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_writeB+0)+0
	movf	(??_ds18b20_writeB+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(5),f	;volatile
	goto	l3520
	line	200
	
l741:	
	line	202
	
l3520:	
;test_all_code.c: 200: }
;test_all_code.c: 202: _delay((unsigned long)((50*2)*(16000000/4000000.0)));
	opt asmopt_off
movlw	133
movwf	(??_ds18b20_writeB+0)+0,f
u3437:
decfsz	(??_ds18b20_writeB+0)+0,f
	goto	u3437
opt asmopt_on

	line	203
	
l3522:	
;test_all_code.c: 203: PORTA|=(1<<2);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(5)+(2/8),(2)&7	;volatile
	line	204
	
l3524:	
;test_all_code.c: 204: wrd>>=1;
	clrc
	rrf	(ds18b20_writeB@wrd),f

	line	187
	movlw	(01h)
	movwf	(??_ds18b20_writeB+0)+0
	movf	(??_ds18b20_writeB+0)+0,w
	addwf	(ds18b20_writeB@i),f
	
l3526:	
	movlw	(08h)
	subwf	(ds18b20_writeB@i),w
	skipc
	goto	u3231
	goto	u3230
u3231:
	goto	l3510
u3230:
	goto	l3528
	
l739:	
	line	206
	
l3528:	
;test_all_code.c: 205: }
;test_all_code.c: 206: _delay((unsigned long)((50)*(16000000/4000000.0)));
	opt asmopt_off
movlw	66
movwf	(??_ds18b20_writeB+0)+0,f
u3447:
decfsz	(??_ds18b20_writeB+0)+0,f
	goto	u3447
	clrwdt
opt asmopt_on

	line	207
	
l742:	
	return
	opt stack 0
GLOBAL	__end_of_ds18b20_writeB
	__end_of_ds18b20_writeB:
;; =============== function _ds18b20_writeB ends ============

	signat	_ds18b20_writeB,4216
	global	_ds18b20_readB
psect	text449,local,class=CODE,delta=2
global __ptext449
__ptext449:

;; *************** function _ds18b20_readB *****************
;; Defined at:
;;		line 156 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  i               1    2[COMMON] unsigned char 
;;  retd            1    1[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         2       0       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_read_ds18b20_temperature
;; This function uses a non-reentrant model
;;
psect	text449
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	156
	global	__size_of_ds18b20_readB
	__size_of_ds18b20_readB	equ	__end_of_ds18b20_readB-_ds18b20_readB
	
_ds18b20_readB:	
	opt	stack 6
; Regs used in _ds18b20_readB: [wreg+status,2+status,0]
	line	157
	
l3474:	
;test_all_code.c: 157: unsigned char i,retd=0;
	clrf	(ds18b20_readB@retd)
	line	159
;test_all_code.c: 159: for(i=0;i<8;i++)
	clrf	(ds18b20_readB@i)
	
l3476:	
	movlw	(08h)
	subwf	(ds18b20_readB@i),w
	skipc
	goto	u3181
	goto	u3180
u3181:
	goto	l3480
u3180:
	goto	l3500
	
l3478:	
	goto	l3500
	line	160
	
l732:	
	line	161
	
l3480:	
;test_all_code.c: 160: {
;test_all_code.c: 161: retd>>=1;
	clrc
	rrf	(ds18b20_readB@retd),f

	line	162
	
l3482:	
;test_all_code.c: 162: TRISA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_readB+0)+0
	movf	(??_ds18b20_readB+0)+0,w
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	andwf	(133)^080h,f	;volatile
	line	163
	
l3484:	
;test_all_code.c: 163: PORTA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_readB+0)+0
	movf	(??_ds18b20_readB+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(5),f	;volatile
	line	164
	
l3486:	
;test_all_code.c: 164: PORTA |= (1<<2);
	bsf	(5)+(2/8),(2)&7	;volatile
	line	165
;test_all_code.c: 165: _delay((unsigned long)((5*2)*(16000000/4000000.0)));
	opt asmopt_off
movlw	13
movwf	(??_ds18b20_readB+0)+0,f
u3457:
decfsz	(??_ds18b20_readB+0)+0,f
	goto	u3457
opt asmopt_on

	line	166
	
l3488:	
;test_all_code.c: 166: TRISA |= (1<<2);
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(133)^080h+(2/8),(2)&7	;volatile
	line	168
	
l3490:	
;test_all_code.c: 168: if(PORTA&(1<<2))
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfss	(5),(2)&7
	goto	u3191
	goto	u3190
u3191:
	goto	l3494
u3190:
	line	170
	
l3492:	
;test_all_code.c: 169: {
;test_all_code.c: 170: retd|=0x80;
	bsf	(ds18b20_readB@retd)+(7/8),(7)&7
	goto	l3494
	line	171
	
l734:	
	line	172
	
l3494:	
;test_all_code.c: 171: }
;test_all_code.c: 172: _delay((unsigned long)((50*2)*(16000000/4000000.0)));
	opt asmopt_off
movlw	133
movwf	(??_ds18b20_readB+0)+0,f
u3467:
decfsz	(??_ds18b20_readB+0)+0,f
	goto	u3467
opt asmopt_on

	line	159
	
l3496:	
	movlw	(01h)
	movwf	(??_ds18b20_readB+0)+0
	movf	(??_ds18b20_readB+0)+0,w
	addwf	(ds18b20_readB@i),f
	
l3498:	
	movlw	(08h)
	subwf	(ds18b20_readB@i),w
	skipc
	goto	u3201
	goto	u3200
u3201:
	goto	l3480
u3200:
	goto	l3500
	
l733:	
	line	174
	
l3500:	
;test_all_code.c: 173: }
;test_all_code.c: 174: return retd;
	movf	(ds18b20_readB@retd),w
	goto	l735
	
l3502:	
	line	176
	
l735:	
	return
	opt stack 0
GLOBAL	__end_of_ds18b20_readB
	__end_of_ds18b20_readB:
;; =============== function _ds18b20_readB ends ============

	signat	_ds18b20_readB,89
	global	_ds18b20_init
psect	text450,local,class=CODE,delta=2
global __ptext450
__ptext450:

;; *************** function _ds18b20_init *****************
;; Defined at:
;;		line 138 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          2       0       0       0       0
;;      Totals:         2       0       0       0       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_read_ds18b20_temperature
;; This function uses a non-reentrant model
;;
psect	text450
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	138
	global	__size_of_ds18b20_init
	__size_of_ds18b20_init	equ	__end_of_ds18b20_init-_ds18b20_init
	
_ds18b20_init:	
	opt	stack 6
; Regs used in _ds18b20_init: [wreg+status,2+status,0]
	line	139
	
l3464:	
;test_all_code.c: 139: TRISA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_init+0)+0
	movf	(??_ds18b20_init+0)+0,w
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	andwf	(133)^080h,f	;volatile
	line	140
;test_all_code.c: 140: PORTA &= ~(1<<2);
	movlw	(0FBh)
	movwf	(??_ds18b20_init+0)+0
	movf	(??_ds18b20_init+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(5),f	;volatile
	line	141
	
l3466:	
;test_all_code.c: 141: _delay((unsigned long)((600*2)*(16000000/4000000.0)));
	opt asmopt_off
movlw	7
movwf	((??_ds18b20_init+0)+0+1),f
	movlw	58
movwf	((??_ds18b20_init+0)+0),f
u3477:
	decfsz	((??_ds18b20_init+0)+0),f
	goto	u3477
	decfsz	((??_ds18b20_init+0)+0+1),f
	goto	u3477
	clrwdt
opt asmopt_on

	line	142
	
l3468:	
;test_all_code.c: 142: PORTA|=(1<<2);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(5)+(2/8),(2)&7	;volatile
	line	143
	
l3470:	
;test_all_code.c: 143: _delay((unsigned long)((60*2)*(16000000/4000000.0)));
	opt asmopt_off
movlw	159
movwf	(??_ds18b20_init+0)+0,f
u3487:
decfsz	(??_ds18b20_init+0)+0,f
	goto	u3487
	nop2	;nop
opt asmopt_on

	line	144
	
l3472:	
;test_all_code.c: 144: TRISA |= (1<<2);
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(133)^080h+(2/8),(2)&7	;volatile
	line	145
;test_all_code.c: 145: while((PORTA&(1<<2)));
	goto	l723
	
l724:	
	
l723:	
	bcf	status, 5	;RP0=0, select bank0
	btfsc	(5),(2)&7
	goto	u3161
	goto	u3160
u3161:
	goto	l723
u3160:
	goto	l726
	
l725:	
	line	146
;test_all_code.c: 146: while(!(PORTA&(1<<2)));
	goto	l726
	
l727:	
	
l726:	
	btfss	(5),(2)&7
	goto	u3171
	goto	u3170
u3171:
	goto	l726
u3170:
	goto	l729
	
l728:	
	line	147
	
l729:	
	return
	opt stack 0
GLOBAL	__end_of_ds18b20_init
	__end_of_ds18b20_init:
;; =============== function _ds18b20_init ends ============

	signat	_ds18b20_init,88
	global	_dsp_cmd_TLCD
psect	text451,local,class=CODE,delta=2
global __ptext451
__ptext451:

;; *************** function _dsp_cmd_TLCD *****************
;; Defined at:
;;		line 72 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  n               1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  n               1    5[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         1       0       0       0       0
;;      Temps:          2       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_flilflop_Enable
;; This function is called by:
;;		_clcd_line1
;;		_clcd_line2
;;		_Tlcd_init
;; This function uses a non-reentrant model
;;
psect	text451
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	72
	global	__size_of_dsp_cmd_TLCD
	__size_of_dsp_cmd_TLCD	equ	__end_of_dsp_cmd_TLCD-_dsp_cmd_TLCD
	
_dsp_cmd_TLCD:	
	opt	stack 5
; Regs used in _dsp_cmd_TLCD: [wreg+status,2+status,0+pclath+cstack]
;dsp_cmd_TLCD@n stored from wreg
	line	73
	movwf	(dsp_cmd_TLCD@n)
	line	74
	
l3438:	
;test_all_code.c: 73: static unsigned char buff_con = 0;
;test_all_code.c: 74: buff_con = (n&0xf0);
	movf	(dsp_cmd_TLCD@n),w
	andlw	0F0h
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(dsp_cmd_TLCD@buff_con)
	line	75
	
l3440:	
;test_all_code.c: 75: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	76
	
l3442:	
;test_all_code.c: 76: buff_con |= 0x04;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(dsp_cmd_TLCD@buff_con)+(2/8),(2)&7
	line	77
	
l3444:	
;test_all_code.c: 77: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	78
	
l3446:	
;test_all_code.c: 78: buff_con &= ~0x04;
	movlw	(0FBh)
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_cmd_TLCD@buff_con),f
	line	79
	
l3448:	
;test_all_code.c: 79: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	80
	
l3450:	
;test_all_code.c: 80: buff_con = ((n<<4)&0xf0);
	movf	(dsp_cmd_TLCD@n),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movlw	(04h)-1
u3155:
	clrc
	rlf	(??_dsp_cmd_TLCD+0)+0,f
	addlw	-1
	skipz
	goto	u3155
	clrc
	rlf	(??_dsp_cmd_TLCD+0)+0,w
	andlw	0F0h
	movwf	(??_dsp_cmd_TLCD+1)+0
	movf	(??_dsp_cmd_TLCD+1)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(dsp_cmd_TLCD@buff_con)
	line	81
	
l3452:	
;test_all_code.c: 81: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	82
	
l3454:	
;test_all_code.c: 82: buff_con |= 0x04;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(dsp_cmd_TLCD@buff_con)+(2/8),(2)&7
	line	83
	
l3456:	
;test_all_code.c: 83: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	84
	
l3458:	
;test_all_code.c: 84: buff_con &= ~0x04;
	movlw	(0FBh)
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_cmd_TLCD@buff_con),f
	line	85
	
l3460:	
;test_all_code.c: 85: flilflop_Enable(0X03,buff_con);
	movf	(dsp_cmd_TLCD@buff_con),w
	movwf	(??_dsp_cmd_TLCD+0)+0
	movf	(??_dsp_cmd_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	86
	
l3462:	
;test_all_code.c: 86: _delay((unsigned long)((1)*(16000000/4000.0)));
	opt asmopt_off
movlw	6
movwf	((??_dsp_cmd_TLCD+0)+0+1),f
	movlw	48
movwf	((??_dsp_cmd_TLCD+0)+0),f
u3497:
	decfsz	((??_dsp_cmd_TLCD+0)+0),f
	goto	u3497
	decfsz	((??_dsp_cmd_TLCD+0)+0+1),f
	goto	u3497
	clrwdt
opt asmopt_on

	line	87
	
l703:	
	return
	opt stack 0
GLOBAL	__end_of_dsp_cmd_TLCD
	__end_of_dsp_cmd_TLCD:
;; =============== function _dsp_cmd_TLCD ends ============

	signat	_dsp_cmd_TLCD,4216
	global	_dsp_str_TLCD
psect	text452,local,class=CODE,delta=2
global __ptext452
__ptext452:

;; *************** function _dsp_str_TLCD *****************
;; Defined at:
;;		line 50 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  n               1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  n               1    5[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         1       0       0       0       0
;;      Temps:          2       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_flilflop_Enable
;; This function is called by:
;;		_string_out
;;		_int_display
;; This function uses a non-reentrant model
;;
psect	text452
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	50
	global	__size_of_dsp_str_TLCD
	__size_of_dsp_str_TLCD	equ	__end_of_dsp_str_TLCD-_dsp_str_TLCD
	
_dsp_str_TLCD:	
	opt	stack 5
; Regs used in _dsp_str_TLCD: [wreg+status,2+status,0+pclath+cstack]
;dsp_str_TLCD@n stored from wreg
	line	51
	movwf	(dsp_str_TLCD@n)
	line	52
	
l3402:	
;test_all_code.c: 51: static unsigned char buff_con = 0;
;test_all_code.c: 52: buff_con = (n&0xf0)|0x01;
	movf	(dsp_str_TLCD@n),w
	andlw	0F0h
	iorlw	01h
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(dsp_str_TLCD@buff_con)
	line	53
	
l3404:	
;test_all_code.c: 53: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	54
	
l3406:	
;test_all_code.c: 54: buff_con |= 0x04;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(dsp_str_TLCD@buff_con)+(2/8),(2)&7
	line	55
	
l3408:	
;test_all_code.c: 55: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	56
	
l3410:	
;test_all_code.c: 56: buff_con &= ~0x04;
	movlw	(0FBh)
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_str_TLCD@buff_con),f
	line	57
	
l3412:	
;test_all_code.c: 57: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	58
	
l3414:	
;test_all_code.c: 58: _delay((unsigned long)((1)*(16000000/4000.0)));
	opt asmopt_off
movlw	6
movwf	((??_dsp_str_TLCD+0)+0+1),f
	movlw	48
movwf	((??_dsp_str_TLCD+0)+0),f
u3507:
	decfsz	((??_dsp_str_TLCD+0)+0),f
	goto	u3507
	decfsz	((??_dsp_str_TLCD+0)+0+1),f
	goto	u3507
	clrwdt
opt asmopt_on

	line	59
	
l3416:	
;test_all_code.c: 59: buff_con &= ~0x01 ;
	movlw	(0FEh)
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_str_TLCD@buff_con),f
	line	60
	
l3418:	
;test_all_code.c: 60: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	61
	
l3420:	
;test_all_code.c: 61: buff_con = ((n<<4)&0xf0)|0x01;
	movf	(dsp_str_TLCD@n),w
	movwf	(??_dsp_str_TLCD+0)+0
	movlw	(04h)-1
u3145:
	clrc
	rlf	(??_dsp_str_TLCD+0)+0,f
	addlw	-1
	skipz
	goto	u3145
	clrc
	rlf	(??_dsp_str_TLCD+0)+0,w
	andlw	0F0h
	iorlw	01h
	movwf	(??_dsp_str_TLCD+1)+0
	movf	(??_dsp_str_TLCD+1)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(dsp_str_TLCD@buff_con)
	line	62
	
l3422:	
;test_all_code.c: 62: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	63
	
l3424:	
;test_all_code.c: 63: buff_con |= 0x04;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(dsp_str_TLCD@buff_con)+(2/8),(2)&7
	line	64
	
l3426:	
;test_all_code.c: 64: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	65
	
l3428:	
;test_all_code.c: 65: buff_con &= ~0x04;
	movlw	(0FBh)
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_str_TLCD@buff_con),f
	line	66
	
l3430:	
;test_all_code.c: 66: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	67
	
l3432:	
;test_all_code.c: 67: _delay((unsigned long)((1)*(16000000/4000.0)));
	opt asmopt_off
movlw	6
movwf	((??_dsp_str_TLCD+0)+0+1),f
	movlw	48
movwf	((??_dsp_str_TLCD+0)+0),f
u3517:
	decfsz	((??_dsp_str_TLCD+0)+0),f
	goto	u3517
	decfsz	((??_dsp_str_TLCD+0)+0+1),f
	goto	u3517
	clrwdt
opt asmopt_on

	line	68
	
l3434:	
;test_all_code.c: 68: buff_con &= ~0x01 ;
	movlw	(0FEh)
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	andwf	(dsp_str_TLCD@buff_con),f
	line	69
	
l3436:	
;test_all_code.c: 69: flilflop_Enable(0X03,buff_con);
	movf	(dsp_str_TLCD@buff_con),w
	movwf	(??_dsp_str_TLCD+0)+0
	movf	(??_dsp_str_TLCD+0)+0,w
	movwf	(?_flilflop_Enable)
	movlw	(03h)
	fcall	_flilflop_Enable
	line	70
	
l698:	
	return
	opt stack 0
GLOBAL	__end_of_dsp_str_TLCD
	__end_of_dsp_str_TLCD:
;; =============== function _dsp_str_TLCD ends ============

	signat	_dsp_str_TLCD,4216
	global	___awmod
psect	text453,local,class=CODE,delta=2
global __ptext453
__ptext453:

;; *************** function ___awmod *****************
;; Defined at:
;;		line 5 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awmod.c"
;; Parameters:    Size  Location     Type
;;  divisor         2    0[COMMON] int 
;;  dividend        2    2[COMMON] int 
;; Auto vars:     Size  Location     Type
;;  sign            1    6[COMMON] unsigned char 
;;  counter         1    5[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  2    0[COMMON] int 
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         4       0       0       0       0
;;      Locals:         2       0       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         7       0       0       0       0
;;Total ram usage:        7 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_int_display
;; This function uses a non-reentrant model
;;
psect	text453
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awmod.c"
	line	5
	global	__size_of___awmod
	__size_of___awmod	equ	__end_of___awmod-___awmod
	
___awmod:	
	opt	stack 6
; Regs used in ___awmod: [wreg+status,2+status,0]
	line	8
	
l3326:	
	clrf	(___awmod@sign)
	line	9
	btfss	(___awmod@dividend+1),7
	goto	u2991
	goto	u2990
u2991:
	goto	l3330
u2990:
	line	10
	
l3328:	
	comf	(___awmod@dividend),f
	comf	(___awmod@dividend+1),f
	incf	(___awmod@dividend),f
	skipnz
	incf	(___awmod@dividend+1),f
	line	11
	clrf	(___awmod@sign)
	bsf	status,0
	rlf	(___awmod@sign),f
	goto	l3330
	line	12
	
l1660:	
	line	13
	
l3330:	
	btfss	(___awmod@divisor+1),7
	goto	u3001
	goto	u3000
u3001:
	goto	l3334
u3000:
	line	14
	
l3332:	
	comf	(___awmod@divisor),f
	comf	(___awmod@divisor+1),f
	incf	(___awmod@divisor),f
	skipnz
	incf	(___awmod@divisor+1),f
	goto	l3334
	
l1661:	
	line	15
	
l3334:	
	movf	(___awmod@divisor+1),w
	iorwf	(___awmod@divisor),w
	skipnz
	goto	u3011
	goto	u3010
u3011:
	goto	l3352
u3010:
	line	16
	
l3336:	
	clrf	(___awmod@counter)
	bsf	status,0
	rlf	(___awmod@counter),f
	line	17
	goto	l3342
	
l1664:	
	line	18
	
l3338:	
	movlw	01h
	
u3025:
	clrc
	rlf	(___awmod@divisor),f
	rlf	(___awmod@divisor+1),f
	addlw	-1
	skipz
	goto	u3025
	line	19
	
l3340:	
	movlw	(01h)
	movwf	(??___awmod+0)+0
	movf	(??___awmod+0)+0,w
	addwf	(___awmod@counter),f
	goto	l3342
	line	20
	
l1663:	
	line	17
	
l3342:	
	btfss	(___awmod@divisor+1),(15)&7
	goto	u3031
	goto	u3030
u3031:
	goto	l3338
u3030:
	goto	l3344
	
l1665:	
	goto	l3344
	line	21
	
l1666:	
	line	22
	
l3344:	
	movf	(___awmod@divisor+1),w
	subwf	(___awmod@dividend+1),w
	skipz
	goto	u3045
	movf	(___awmod@divisor),w
	subwf	(___awmod@dividend),w
u3045:
	skipc
	goto	u3041
	goto	u3040
u3041:
	goto	l3348
u3040:
	line	23
	
l3346:	
	movf	(___awmod@divisor),w
	subwf	(___awmod@dividend),f
	movf	(___awmod@divisor+1),w
	skipc
	decf	(___awmod@dividend+1),f
	subwf	(___awmod@dividend+1),f
	goto	l3348
	
l1667:	
	line	24
	
l3348:	
	movlw	01h
	
u3055:
	clrc
	rrf	(___awmod@divisor+1),f
	rrf	(___awmod@divisor),f
	addlw	-1
	skipz
	goto	u3055
	line	25
	
l3350:	
	movlw	low(01h)
	subwf	(___awmod@counter),f
	btfss	status,2
	goto	u3061
	goto	u3060
u3061:
	goto	l3344
u3060:
	goto	l3352
	
l1668:	
	goto	l3352
	line	26
	
l1662:	
	line	27
	
l3352:	
	movf	(___awmod@sign),w
	skipz
	goto	u3070
	goto	l3356
u3070:
	line	28
	
l3354:	
	comf	(___awmod@dividend),f
	comf	(___awmod@dividend+1),f
	incf	(___awmod@dividend),f
	skipnz
	incf	(___awmod@dividend+1),f
	goto	l3356
	
l1669:	
	line	29
	
l3356:	
	movf	(___awmod@dividend+1),w
	clrf	(?___awmod+1)
	addwf	(?___awmod+1)
	movf	(___awmod@dividend),w
	clrf	(?___awmod)
	addwf	(?___awmod)

	goto	l1670
	
l3358:	
	line	30
	
l1670:	
	return
	opt stack 0
GLOBAL	__end_of___awmod
	__end_of___awmod:
;; =============== function ___awmod ends ============

	signat	___awmod,8314
	global	___awdiv
psect	text454,local,class=CODE,delta=2
global __ptext454
__ptext454:

;; *************** function ___awdiv *****************
;; Defined at:
;;		line 5 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awdiv.c"
;; Parameters:    Size  Location     Type
;;  divisor         2    7[COMMON] int 
;;  dividend        2    9[COMMON] int 
;; Auto vars:     Size  Location     Type
;;  quotient        2    2[BANK0 ] int 
;;  sign            1    1[BANK0 ] unsigned char 
;;  counter         1    0[BANK0 ] unsigned char 
;; Return value:  Size  Location     Type
;;                  2    7[COMMON] int 
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         4       0       0       0       0
;;      Locals:         0       4       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         5       4       0       0       0
;;Total ram usage:        9 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_int_display
;; This function uses a non-reentrant model
;;
psect	text454
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awdiv.c"
	line	5
	global	__size_of___awdiv
	__size_of___awdiv	equ	__end_of___awdiv-___awdiv
	
___awdiv:	
	opt	stack 6
; Regs used in ___awdiv: [wreg+status,2+status,0]
	line	9
	
l3286:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(___awdiv@sign)
	line	10
	btfss	(___awdiv@divisor+1),7
	goto	u2891
	goto	u2890
u2891:
	goto	l3290
u2890:
	line	11
	
l3288:	
	comf	(___awdiv@divisor),f
	comf	(___awdiv@divisor+1),f
	incf	(___awdiv@divisor),f
	skipnz
	incf	(___awdiv@divisor+1),f
	line	12
	clrf	(___awdiv@sign)
	bsf	status,0
	rlf	(___awdiv@sign),f
	goto	l3290
	line	13
	
l1592:	
	line	14
	
l3290:	
	btfss	(___awdiv@dividend+1),7
	goto	u2901
	goto	u2900
u2901:
	goto	l3296
u2900:
	line	15
	
l3292:	
	comf	(___awdiv@dividend),f
	comf	(___awdiv@dividend+1),f
	incf	(___awdiv@dividend),f
	skipnz
	incf	(___awdiv@dividend+1),f
	line	16
	
l3294:	
	movlw	(01h)
	movwf	(??___awdiv+0)+0
	movf	(??___awdiv+0)+0,w
	xorwf	(___awdiv@sign),f
	goto	l3296
	line	17
	
l1593:	
	line	18
	
l3296:	
	clrf	(___awdiv@quotient)
	clrf	(___awdiv@quotient+1)
	line	19
	
l3298:	
	movf	(___awdiv@divisor+1),w
	iorwf	(___awdiv@divisor),w
	skipnz
	goto	u2911
	goto	u2910
u2911:
	goto	l3318
u2910:
	line	20
	
l3300:	
	clrf	(___awdiv@counter)
	bsf	status,0
	rlf	(___awdiv@counter),f
	line	21
	goto	l3306
	
l1596:	
	line	22
	
l3302:	
	movlw	01h
	
u2925:
	clrc
	rlf	(___awdiv@divisor),f
	rlf	(___awdiv@divisor+1),f
	addlw	-1
	skipz
	goto	u2925
	line	23
	
l3304:	
	movlw	(01h)
	movwf	(??___awdiv+0)+0
	movf	(??___awdiv+0)+0,w
	addwf	(___awdiv@counter),f
	goto	l3306
	line	24
	
l1595:	
	line	21
	
l3306:	
	btfss	(___awdiv@divisor+1),(15)&7
	goto	u2931
	goto	u2930
u2931:
	goto	l3302
u2930:
	goto	l3308
	
l1597:	
	goto	l3308
	line	25
	
l1598:	
	line	26
	
l3308:	
	movlw	01h
	
u2945:
	clrc
	rlf	(___awdiv@quotient),f
	rlf	(___awdiv@quotient+1),f
	addlw	-1
	skipz
	goto	u2945
	line	27
	movf	(___awdiv@divisor+1),w
	subwf	(___awdiv@dividend+1),w
	skipz
	goto	u2955
	movf	(___awdiv@divisor),w
	subwf	(___awdiv@dividend),w
u2955:
	skipc
	goto	u2951
	goto	u2950
u2951:
	goto	l3314
u2950:
	line	28
	
l3310:	
	movf	(___awdiv@divisor),w
	subwf	(___awdiv@dividend),f
	movf	(___awdiv@divisor+1),w
	skipc
	decf	(___awdiv@dividend+1),f
	subwf	(___awdiv@dividend+1),f
	line	29
	
l3312:	
	bsf	(___awdiv@quotient)+(0/8),(0)&7
	goto	l3314
	line	30
	
l1599:	
	line	31
	
l3314:	
	movlw	01h
	
u2965:
	clrc
	rrf	(___awdiv@divisor+1),f
	rrf	(___awdiv@divisor),f
	addlw	-1
	skipz
	goto	u2965
	line	32
	
l3316:	
	movlw	low(01h)
	subwf	(___awdiv@counter),f
	btfss	status,2
	goto	u2971
	goto	u2970
u2971:
	goto	l3308
u2970:
	goto	l3318
	
l1600:	
	goto	l3318
	line	33
	
l1594:	
	line	34
	
l3318:	
	movf	(___awdiv@sign),w
	skipz
	goto	u2980
	goto	l3322
u2980:
	line	35
	
l3320:	
	comf	(___awdiv@quotient),f
	comf	(___awdiv@quotient+1),f
	incf	(___awdiv@quotient),f
	skipnz
	incf	(___awdiv@quotient+1),f
	goto	l3322
	
l1601:	
	line	36
	
l3322:	
	movf	(___awdiv@quotient+1),w
	clrf	(?___awdiv+1)
	addwf	(?___awdiv+1)
	movf	(___awdiv@quotient),w
	clrf	(?___awdiv)
	addwf	(?___awdiv)

	goto	l1602
	
l3324:	
	line	37
	
l1602:	
	return
	opt stack 0
GLOBAL	__end_of___awdiv
	__end_of___awdiv:
;; =============== function ___awdiv ends ============

	signat	___awdiv,8314
	global	___fttol
psect	text455,local,class=CODE,delta=2
global __ptext455
__ptext455:

;; *************** function ___fttol *****************
;; Defined at:
;;		line 45 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\fttol.c"
;; Parameters:    Size  Location     Type
;;  f1              3    0[COMMON] float 
;; Auto vars:     Size  Location     Type
;;  lval            4    9[COMMON] unsigned long 
;;  exp1            1   13[COMMON] unsigned char 
;;  sign1           1    8[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  4    0[COMMON] long 
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         4       0       0       0       0
;;      Locals:         6       0       0       0       0
;;      Temps:          4       0       0       0       0
;;      Totals:        14       0       0       0       0
;;Total ram usage:       14 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text455
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\fttol.c"
	line	45
	global	__size_of___fttol
	__size_of___fttol	equ	__end_of___fttol-___fttol
	
___fttol:	
	opt	stack 7
; Regs used in ___fttol: [wreg+status,2+status,0]
	line	49
	
l3222:	
	movf	(___fttol@f1),w
	movwf	((??___fttol+0)+0)
	movf	(___fttol@f1+1),w
	movwf	((??___fttol+0)+0+1)
	movf	(___fttol@f1+2),w
	movwf	((??___fttol+0)+0+2)
	clrc
	rlf	(??___fttol+0)+1,w
	rlf	(??___fttol+0)+2,w
	movwf	(??___fttol+3)+0
	movf	(??___fttol+3)+0,w
	movwf	(___fttol@exp1)
	movf	((___fttol@exp1)),f
	skipz
	goto	u2771
	goto	u2770
u2771:
	goto	l3228
u2770:
	line	50
	
l3224:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l1562
	
l3226:	
	goto	l1562
	
l1561:	
	line	51
	
l3228:	
	movf	(___fttol@f1),w
	movwf	((??___fttol+0)+0)
	movf	(___fttol@f1+1),w
	movwf	((??___fttol+0)+0+1)
	movf	(___fttol@f1+2),w
	movwf	((??___fttol+0)+0+2)
	movlw	017h
u2785:
	clrc
	rrf	(??___fttol+0)+2,f
	rrf	(??___fttol+0)+1,f
	rrf	(??___fttol+0)+0,f
u2780:
	addlw	-1
	skipz
	goto	u2785
	movf	0+(??___fttol+0)+0,w
	movwf	(??___fttol+3)+0
	movf	(??___fttol+3)+0,w
	movwf	(___fttol@sign1)
	line	52
	
l3230:	
	bsf	(___fttol@f1)+(15/8),(15)&7
	line	53
	
l3232:	
	movlw	0FFh
	andwf	(___fttol@f1),f
	movlw	0FFh
	andwf	(___fttol@f1+1),f
	movlw	0
	andwf	(___fttol@f1+2),f
	line	54
	
l3234:	
	movf	(___fttol@f1),w
	movwf	(___fttol@lval)
	movf	(___fttol@f1+1),w
	movwf	((___fttol@lval))+1
	movf	(___fttol@f1+2),w
	movwf	((___fttol@lval))+2
	clrf	((___fttol@lval))+3
	line	55
	
l3236:	
	movlw	low(08Eh)
	subwf	(___fttol@exp1),f
	line	56
	
l3238:	
	btfss	(___fttol@exp1),7
	goto	u2791
	goto	u2790
u2791:
	goto	l3248
u2790:
	line	57
	
l3240:	
	movf	(___fttol@exp1),w
	xorlw	80h
	addlw	-((-15)^80h)
	skipnc
	goto	u2801
	goto	u2800
u2801:
	goto	l3246
u2800:
	line	58
	
l3242:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l1562
	
l3244:	
	goto	l1562
	
l1564:	
	goto	l3246
	line	59
	
l1565:	
	line	60
	
l3246:	
	movlw	01h
u2815:
	clrc
	rrf	(___fttol@lval+3),f
	rrf	(___fttol@lval+2),f
	rrf	(___fttol@lval+1),f
	rrf	(___fttol@lval),f
	addlw	-1
	skipz
	goto	u2815

	line	61
	movlw	(01h)
	movwf	(??___fttol+0)+0
	movf	(??___fttol+0)+0,w
	addwf	(___fttol@exp1),f
	btfss	status,2
	goto	u2821
	goto	u2820
u2821:
	goto	l3246
u2820:
	goto	l3258
	
l1566:	
	line	62
	goto	l3258
	
l1563:	
	line	63
	
l3248:	
	movlw	(018h)
	subwf	(___fttol@exp1),w
	skipc
	goto	u2831
	goto	u2830
u2831:
	goto	l3256
u2830:
	line	64
	
l3250:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l1562
	
l3252:	
	goto	l1562
	
l1568:	
	line	65
	goto	l3256
	
l1570:	
	line	66
	
l3254:	
	movlw	01h
	movwf	(??___fttol+0)+0
u2845:
	clrc
	rlf	(___fttol@lval),f
	rlf	(___fttol@lval+1),f
	rlf	(___fttol@lval+2),f
	rlf	(___fttol@lval+3),f
	decfsz	(??___fttol+0)+0
	goto	u2845
	line	67
	movlw	low(01h)
	subwf	(___fttol@exp1),f
	goto	l3256
	line	68
	
l1569:	
	line	65
	
l3256:	
	movf	(___fttol@exp1),f
	skipz
	goto	u2851
	goto	u2850
u2851:
	goto	l3254
u2850:
	goto	l3258
	
l1571:	
	goto	l3258
	line	69
	
l1567:	
	line	70
	
l3258:	
	movf	(___fttol@sign1),w
	skipz
	goto	u2860
	goto	l3262
u2860:
	line	71
	
l3260:	
	comf	(___fttol@lval),f
	comf	(___fttol@lval+1),f
	comf	(___fttol@lval+2),f
	comf	(___fttol@lval+3),f
	incf	(___fttol@lval),f
	skipnz
	incf	(___fttol@lval+1),f
	skipnz
	incf	(___fttol@lval+2),f
	skipnz
	incf	(___fttol@lval+3),f
	goto	l3262
	
l1572:	
	line	72
	
l3262:	
	movf	(___fttol@lval+3),w
	movwf	(?___fttol+3)
	movf	(___fttol@lval+2),w
	movwf	(?___fttol+2)
	movf	(___fttol@lval+1),w
	movwf	(?___fttol+1)
	movf	(___fttol@lval),w
	movwf	(?___fttol)

	goto	l1562
	
l3264:	
	line	73
	
l1562:	
	return
	opt stack 0
GLOBAL	__end_of___fttol
	__end_of___fttol:
;; =============== function ___fttol ends ============

	signat	___fttol,4220
	global	___ftpack
psect	text456,local,class=CODE,delta=2
global __ptext456
__ptext456:

;; *************** function ___ftpack *****************
;; Defined at:
;;		line 63 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\float.c"
;; Parameters:    Size  Location     Type
;;  arg             3    0[COMMON] unsigned um
;;  exp             1    3[COMMON] unsigned char 
;;  sign            1    4[COMMON] unsigned char 
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  3    0[COMMON] float 
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         5       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          3       0       0       0       0
;;      Totals:         8       0       0       0       0
;;Total ram usage:        8 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		___ftmul
;;		___lwtoft
;;		___ftadd
;;		___ftdiv
;;		___lbtoft
;;		___abtoft
;;		___awtoft
;;		___altoft
;;		___lltoft
;;		___attoft
;;		___lttoft
;; This function uses a non-reentrant model
;;
psect	text456
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\float.c"
	line	63
	global	__size_of___ftpack
	__size_of___ftpack	equ	__end_of___ftpack-___ftpack
	
___ftpack:	
	opt	stack 6
; Regs used in ___ftpack: [wreg+status,2+status,0]
	line	64
	
l3148:	
	movf	(___ftpack@exp),w
	skipz
	goto	u2580
	goto	l3152
u2580:
	
l3150:	
	movf	(___ftpack@arg+2),w
	iorwf	(___ftpack@arg+1),w
	iorwf	(___ftpack@arg),w
	skipz
	goto	u2591
	goto	u2590
u2591:
	goto	l3158
u2590:
	goto	l3152
	
l1786:	
	line	65
	
l3152:	
	movlw	0x0
	movwf	(?___ftpack)
	movlw	0x0
	movwf	(?___ftpack+1)
	movlw	0x0
	movwf	(?___ftpack+2)
	goto	l1787
	
l3154:	
	goto	l1787
	
l1784:	
	line	66
	goto	l3158
	
l1789:	
	line	67
	
l3156:	
	movlw	(01h)
	movwf	(??___ftpack+0)+0
	movf	(??___ftpack+0)+0,w
	addwf	(___ftpack@exp),f
	line	68
	movlw	01h
u2605:
	clrc
	rrf	(___ftpack@arg+2),f
	rrf	(___ftpack@arg+1),f
	rrf	(___ftpack@arg),f
	addlw	-1
	skipz
	goto	u2605

	goto	l3158
	line	69
	
l1788:	
	line	66
	
l3158:	
	movlw	low highword(0FE0000h)
	andwf	(___ftpack@arg+2),w
	btfss	status,2
	goto	u2611
	goto	u2610
u2611:
	goto	l3156
u2610:
	goto	l1791
	
l1790:	
	line	70
	goto	l1791
	
l1792:	
	line	71
	
l3160:	
	movlw	(01h)
	movwf	(??___ftpack+0)+0
	movf	(??___ftpack+0)+0,w
	addwf	(___ftpack@exp),f
	line	72
	
l3162:	
	movlw	01h
	addwf	(___ftpack@arg),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftpack@arg+1),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftpack@arg+2),f
	line	73
	
l3164:	
	movlw	01h
u2625:
	clrc
	rrf	(___ftpack@arg+2),f
	rrf	(___ftpack@arg+1),f
	rrf	(___ftpack@arg),f
	addlw	-1
	skipz
	goto	u2625

	line	74
	
l1791:	
	line	70
	movlw	low highword(0FF0000h)
	andwf	(___ftpack@arg+2),w
	btfss	status,2
	goto	u2631
	goto	u2630
u2631:
	goto	l3160
u2630:
	goto	l3168
	
l1793:	
	line	75
	goto	l3168
	
l1795:	
	line	76
	
l3166:	
	movlw	low(01h)
	subwf	(___ftpack@exp),f
	line	77
	movlw	01h
u2645:
	clrc
	rlf	(___ftpack@arg),f
	rlf	(___ftpack@arg+1),f
	rlf	(___ftpack@arg+2),f
	addlw	-1
	skipz
	goto	u2645
	goto	l3168
	line	78
	
l1794:	
	line	75
	
l3168:	
	btfss	(___ftpack@arg+1),(15)&7
	goto	u2651
	goto	u2650
u2651:
	goto	l3166
u2650:
	
l1796:	
	line	79
	btfsc	(___ftpack@exp),(0)&7
	goto	u2661
	goto	u2660
u2661:
	goto	l1797
u2660:
	line	80
	
l3170:	
	movlw	0FFh
	andwf	(___ftpack@arg),f
	movlw	07Fh
	andwf	(___ftpack@arg+1),f
	movlw	0FFh
	andwf	(___ftpack@arg+2),f
	
l1797:	
	line	81
	clrc
	rrf	(___ftpack@exp),f

	line	82
	
l3172:	
	movf	(___ftpack@exp),w
	movwf	((??___ftpack+0)+0)
	clrf	((??___ftpack+0)+0+1)
	clrf	((??___ftpack+0)+0+2)
	movlw	010h
u2675:
	clrc
	rlf	(??___ftpack+0)+0,f
	rlf	(??___ftpack+0)+1,f
	rlf	(??___ftpack+0)+2,f
u2670:
	addlw	-1
	skipz
	goto	u2675
	movf	0+(??___ftpack+0)+0,w
	iorwf	(___ftpack@arg),f
	movf	1+(??___ftpack+0)+0,w
	iorwf	(___ftpack@arg+1),f
	movf	2+(??___ftpack+0)+0,w
	iorwf	(___ftpack@arg+2),f
	line	83
	
l3174:	
	movf	(___ftpack@sign),w
	skipz
	goto	u2680
	goto	l1798
u2680:
	line	84
	
l3176:	
	bsf	(___ftpack@arg)+(23/8),(23)&7
	
l1798:	
	line	85
	line	86
	
l1787:	
	return
	opt stack 0
GLOBAL	__end_of___ftpack
	__end_of___ftpack:
;; =============== function ___ftpack ends ============

	signat	___ftpack,12411
	global	_bsp_ds18b20_gpio_init
psect	text457,local,class=CODE,delta=2
global __ptext457
__ptext457:

;; *************** function _bsp_ds18b20_gpio_init *****************
;; Defined at:
;;		line 226 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text457
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	226
	global	__size_of_bsp_ds18b20_gpio_init
	__size_of_bsp_ds18b20_gpio_init	equ	__end_of_bsp_ds18b20_gpio_init-_bsp_ds18b20_gpio_init
	
_bsp_ds18b20_gpio_init:	
	opt	stack 7
; Regs used in _bsp_ds18b20_gpio_init: [wreg+status,2]
	line	229
	
l3074:	
;test_all_code.c: 229: TRISA=0X00;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	clrf	(133)^080h	;volatile
	line	230
	
l3076:	
;test_all_code.c: 230: PORTA=0X04;
	movlw	(04h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(5)	;volatile
	line	231
	
l748:	
	return
	opt stack 0
GLOBAL	__end_of_bsp_ds18b20_gpio_init
	__end_of_bsp_ds18b20_gpio_init:
;; =============== function _bsp_ds18b20_gpio_init ends ============

	signat	_bsp_ds18b20_gpio_init,88
	global	_flilflop_Enable
psect	text458,local,class=CODE,delta=2
global __ptext458
__ptext458:

;; *************** function _flilflop_Enable *****************
;; Defined at:
;;		line 41 in file "D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
;; Parameters:    Size  Location     Type
;;  Add             1    wreg     unsigned char 
;;  OuputData       1    0[COMMON] unsigned char 
;; Auto vars:     Size  Location     Type
;;  Add             1    2[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         1       0       0       0       0
;;      Locals:         1       0       0       0       0
;;      Temps:          1       0       0       0       0
;;      Totals:         3       0       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_dsp_str_TLCD
;;		_dsp_cmd_TLCD
;;		_DeviceInit
;;		_main
;; This function uses a non-reentrant model
;;
psect	text458
	file	"D:\Product\PIC\LK-P16-F\Firmware\V03\PIC16F18F-F_Test_Code_17_0112\Each_Code\CH16_DS18B20\test_all_code.c"
	line	41
	global	__size_of_flilflop_Enable
	__size_of_flilflop_Enable	equ	__end_of_flilflop_Enable-_flilflop_Enable
	
_flilflop_Enable:	
	opt	stack 5
; Regs used in _flilflop_Enable: [wreg+status,2+status,0]
;flilflop_Enable@Add stored from wreg
	movwf	(flilflop_Enable@Add)
	line	42
	
l3066:	
;test_all_code.c: 42: PORTD = OuputData;
	movf	(flilflop_Enable@OuputData),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(8)	;volatile
	line	43
	
l3068:	
;test_all_code.c: 43: PORTB |= 0X10;
	bsf	(6)+(4/8),(4)&7	;volatile
	line	44
;test_all_code.c: 44: PORTC = Add;
	movf	(flilflop_Enable@Add),w
	movwf	(7)	;volatile
	line	45
	
l3070:	
;test_all_code.c: 45: PORTB &= ~0X10;
	movlw	(0EFh)
	movwf	(??_flilflop_Enable+0)+0
	movf	(??_flilflop_Enable+0)+0,w
	andwf	(6),f	;volatile
	line	46
	
l3072:	
;test_all_code.c: 46: PORTB |= 0X10;
	bsf	(6)+(4/8),(4)&7	;volatile
	line	47
	
l693:	
	return
	opt stack 0
GLOBAL	__end_of_flilflop_Enable
	__end_of_flilflop_Enable:
;; =============== function _flilflop_Enable ends ============

	signat	_flilflop_Enable,8312
psect	text459,local,class=CODE,delta=2
global __ptext459
__ptext459:
	global	btemp
	btemp set 07Eh

	DABS	1,126,2	;btemp
	global	wtemp0
	wtemp0 set btemp
	end
