opt subtitle "HI-TECH Software Omniscient Code Generator (Lite mode) build 10920"

opt pagewidth 120

	opt lm

	processor	16F690
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
# 14 "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\main.c"
	psect config,class=CONFIG,delta=2 ;#
# 14 "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\main.c"
	dw 0xFFF7 & 0xFFDF ;#
	FNCALL	_main,_init_PIC
	FNCALL	_main,_start
	FNCALL	_main,_rs232_init
	FNCALL	_main,_i2c_init
	FNCALL	_main,_rs232_send_byte
	FNCALL	_main,_rs232_send_text
	FNCALL	_main,_read_i2c
	FNCALL	_main,_rezultat
	FNCALL	_main,___ftge
	FNCALL	_main,_dinamo
	FNCALL	_main,___ftneg
	FNCALL	_main,___ftadd
	FNCALL	_main,_abs
	FNCALL	_main,___ftdiv
	FNCALL	_main,___ftsub
	FNCALL	_main,___ftmul
	FNCALL	_read_i2c,_i2c_open
	FNCALL	_read_i2c,_rs232_send_text
	FNCALL	_read_i2c,_i2c_put_byte
	FNCALL	_read_i2c,_i2c_get_byte
	FNCALL	_i2c_init,_i2c_open
	FNCALL	_i2c_init,_rs232_send_text
	FNCALL	_i2c_init,_i2c_put_byte
	FNCALL	_i2c_init,_i2c_stop
	FNCALL	_i2c_open,_i2c_restart
	FNCALL	_i2c_open,_i2c_send_address
	FNCALL	_i2c_open,_i2c_read_ack
	FNCALL	_i2c_get_byte,_i2c_read_byte
	FNCALL	_i2c_get_byte,_i2c_send_ack
	FNCALL	_i2c_put_byte,_i2c_send_byte
	FNCALL	_i2c_put_byte,_i2c_read_ack
	FNCALL	_i2c_send_address,_i2c_send_byte
	FNCALL	___ftsub,___ftadd
	FNCALL	_dinamo,___ftge
	FNCALL	_dinamo,_rs232_send_byte
	FNCALL	_dinamo,_abs
	FNCALL	_dinamo,___ftmul
	FNCALL	_dinamo,___fttol
	FNCALL	_dinamo,___awdiv
	FNCALL	_dinamo,___awmod
	FNCALL	_rezultat,___awtoft
	FNCALL	_rezultat,___ftmul
	FNCALL	_rezultat,___ftdiv
	FNCALL	_i2c_read_byte,_i2c_wait_for_SCL
	FNCALL	_i2c_read_ack,_i2c_wait_for_SCL
	FNCALL	_i2c_send_byte,_i2c_wait_for_SCL
	FNCALL	___awtoft,___ftpack
	FNCALL	___ftmul,___ftpack
	FNCALL	___ftdiv,___ftpack
	FNCALL	___ftadd,___ftpack
	FNCALL	_abs,___ftge
	FNCALL	_abs,___ftneg
	FNCALL	_rs232_send_text,_rs232_send_byte
	FNROOT	_main
	global	_PORTA
psect	text682,local,class=CODE,delta=2
global __ptext682
__ptext682:
_PORTA	set	5
	global	_PORTB
_PORTB	set	6
	global	_PORTC
_PORTC	set	7
	global	_RCREG
_RCREG	set	26
	global	_RCSTA
_RCSTA	set	24
	global	_SSPCON
_SSPCON	set	20
	global	_TXREG
_TXREG	set	25
	global	_CARRY
_CARRY	set	24
	global	_CREN
_CREN	set	196
	global	_FERR
_FERR	set	194
	global	_GIE
_GIE	set	95
	global	_OERR
_OERR	set	193
	global	_RA3
_RA3	set	43
	global	_RB4
_RB4	set	52
	global	_RB6
_RB6	set	54
	global	_RCIF
_RCIF	set	101
	global	_SPBRG
_SPBRG	set	153
	global	_TRISA
_TRISA	set	133
	global	_TRISB
_TRISB	set	134
	global	_TRISC
_TRISC	set	135
	global	_TXSTA
_TXSTA	set	152
	global	_TRISB4
_TRISB4	set	1076
	global	_TRISB6
_TRISB6	set	1078
	global	_TRMT
_TRMT	set	1217
	global	_ANSEL
_ANSEL	set	286
	global	_ANSELH
_ANSELH	set	287
	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
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
	
STR_1:	
	retlw	80	;'P'
	retlw	82	;'R'
	retlw	79	;'O'
	retlw	74	;'J'
	retlw	69	;'E'
	retlw	75	;'K'
	retlw	84	;'T'
	retlw	58	;':'
	retlw	32	;' '
	retlw	53	;'5'
	retlw	46	;'.'
	retlw	32	;' '
	retlw	122	;'z'
	retlw	97	;'a'
	retlw	100	;'d'
	retlw	97	;'a'
	retlw	116	;'t'
	retlw	97	;'a'
	retlw	107	;'k'
	retlw	13
	retlw	75	;'K'
	retlw	97	;'a'
	retlw	108	;'l'
	retlw	105	;'i'
	retlw	98	;'b'
	retlw	114	;'r'
	retlw	97	;'a'
	retlw	99	;'c'
	retlw	105	;'i'
	retlw	106	;'j'
	retlw	97	;'a'
	retlw	32	;' '
	retlw	109	;'m'
	retlw	97	;'a'
	retlw	103	;'g'
	retlw	110	;'n'
	retlw	101	;'e'
	retlw	116	;'t'
	retlw	115	;'s'
	retlw	107	;'k'
	retlw	111	;'o'
	retlw	103	;'g'
	retlw	32	;' '
	retlw	107	;'k'
	retlw	111	;'o'
	retlw	109	;'m'
	retlw	112	;'p'
	retlw	97	;'a'
	retlw	115	;'s'
	retlw	97	;'a'
	retlw	46	;'.'
	retlw	13
	retlw	0
psect	strings
	
STR_12:	
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	42	;'*'
	retlw	13
	retlw	0
psect	strings
	
STR_2:	
	retlw	67	;'C'
	retlw	97	;'a'
	retlw	108	;'l'
	retlw	105	;'i'
	retlw	98	;'b'
	retlw	114	;'r'
	retlw	97	;'a'
	retlw	116	;'t'
	retlw	105	;'i'
	retlw	111	;'o'
	retlw	110	;'n'
	retlw	32	;' '
	retlw	109	;'m'
	retlw	111	;'o'
	retlw	100	;'d'
	retlw	101	;'e'
	retlw	46	;'.'
	retlw	46	;'.'
	retlw	46	;'.'
	retlw	13
	retlw	0
psect	strings
	
STR_10:	
	retlw	32	;' '
	retlw	61	;'='
	retlw	32	;' '
	retlw	120	;'x'
	retlw	32	;' '
	retlw	111	;'o'
	retlw	102	;'f'
	retlw	115	;'s'
	retlw	101	;'e'
	retlw	116	;'t'
	retlw	13
	retlw	0
psect	strings
	
STR_11:	
	retlw	32	;' '
	retlw	61	;'='
	retlw	32	;' '
	retlw	121	;'y'
	retlw	32	;' '
	retlw	111	;'o'
	retlw	102	;'f'
	retlw	115	;'s'
	retlw	101	;'e'
	retlw	116	;'t'
	retlw	13
	retlw	0
psect	strings
	
STR_9:	
	retlw	32	;' '
	retlw	61	;'='
	retlw	32	;' '
	retlw	102	;'f'
	retlw	97	;'a'
	retlw	107	;'k'
	retlw	116	;'t'
	retlw	111	;'o'
	retlw	114	;'r'
	retlw	13
	retlw	0
psect	strings
	
STR_7:	
	retlw	32	;' '
	retlw	61	;'='
	retlw	32	;' '
	retlw	120	;'x'
	retlw	32	;' '
	retlw	97	;'a'
	retlw	98	;'b'
	retlw	115	;'s'
	retlw	13
	retlw	0
psect	strings
	
STR_8:	
	retlw	32	;' '
	retlw	61	;'='
	retlw	32	;' '
	retlw	121	;'y'
	retlw	32	;' '
	retlw	97	;'a'
	retlw	98	;'b'
	retlw	115	;'s'
	retlw	13
	retlw	0
psect	strings
	
STR_13:	
	retlw	103	;'g'
	retlw	114	;'r'
	retlw	101	;'e'
	retlw	115	;'s'
	retlw	107	;'k'
	retlw	97	;'a'
	retlw	49	;'1'
	retlw	10
	retlw	0
psect	strings
	
STR_14:	
	retlw	103	;'g'
	retlw	114	;'r'
	retlw	101	;'e'
	retlw	115	;'s'
	retlw	107	;'k'
	retlw	97	;'a'
	retlw	50	;'2'
	retlw	10
	retlw	0
psect	strings
	
STR_15:	
	retlw	103	;'g'
	retlw	114	;'r'
	retlw	101	;'e'
	retlw	115	;'s'
	retlw	107	;'k'
	retlw	97	;'a'
	retlw	51	;'3'
	retlw	125	;'}'
	retlw	0
psect	strings
	
STR_16:	
	retlw	101	;'e'
	retlw	114	;'r'
	retlw	114	;'r'
	retlw	111	;'o'
	retlw	114	;'r'
	retlw	49	;'1'
	retlw	10
	retlw	0
psect	strings
	
STR_17:	
	retlw	101	;'e'
	retlw	114	;'r'
	retlw	114	;'r'
	retlw	111	;'o'
	retlw	114	;'r'
	retlw	50	;'2'
	retlw	10
	retlw	0
psect	strings
	
STR_18:	
	retlw	101	;'e'
	retlw	114	;'r'
	retlw	114	;'r'
	retlw	111	;'o'
	retlw	114	;'r'
	retlw	51	;'3'
	retlw	10
	retlw	0
psect	strings
	
STR_6:	
	retlw	32	;' '
	retlw	13
	retlw	0
psect	strings
	
STR_3:	
	retlw	32	;' '
	retlw	0
psect	strings
STR_4	equ	STR_3+0
STR_5	equ	STR_3+0
	file	"Zadatak 5.as"
	line	#
psect cinit,class=CODE,delta=2
global start_initialization
start_initialization:

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	??_i2c_wait_for_SCL
??_i2c_wait_for_SCL:	; 0 bytes @ 0x0
	global	?_init_PIC
?_init_PIC:	; 0 bytes @ 0x0
	global	??_init_PIC
??_init_PIC:	; 0 bytes @ 0x0
	global	?_start
?_start:	; 0 bytes @ 0x0
	global	??_rs232_init
??_rs232_init:	; 0 bytes @ 0x0
	global	?_rs232_send_byte
?_rs232_send_byte:	; 0 bytes @ 0x0
	global	??_rs232_send_byte
??_rs232_send_byte:	; 0 bytes @ 0x0
	global	?_rs232_send_text
?_rs232_send_text:	; 0 bytes @ 0x0
	global	?_i2c_stop
?_i2c_stop:	; 0 bytes @ 0x0
	global	??_i2c_stop
??_i2c_stop:	; 0 bytes @ 0x0
	global	?_i2c_restart
?_i2c_restart:	; 0 bytes @ 0x0
	global	??_i2c_restart
??_i2c_restart:	; 0 bytes @ 0x0
	global	?_i2c_send_ack
?_i2c_send_ack:	; 0 bytes @ 0x0
	global	??_i2c_send_ack
??_i2c_send_ack:	; 0 bytes @ 0x0
	global	?_main
?_main:	; 0 bytes @ 0x0
	global	?___ftge
?___ftge:	; 1 bit 
	global	?_i2c_wait_for_SCL
?_i2c_wait_for_SCL:	; 1 bytes @ 0x0
	global	?_rs232_init
?_rs232_init:	; 1 bytes @ 0x0
	global	?_i2c_send_byte
?_i2c_send_byte:	; 1 bytes @ 0x0
	global	?_i2c_read_ack
?_i2c_read_ack:	; 1 bytes @ 0x0
	global	?_i2c_read_byte
?_i2c_read_byte:	; 1 bytes @ 0x0
	global	?_i2c_put_byte
?_i2c_put_byte:	; 1 bytes @ 0x0
	global	?___awmod
?___awmod:	; 2 bytes @ 0x0
	global	?___ftpack
?___ftpack:	; 3 bytes @ 0x0
	global	?___ftneg
?___ftneg:	; 3 bytes @ 0x0
	global	?___fttol
?___fttol:	; 4 bytes @ 0x0
	global	i2c_send_ack@status
i2c_send_ack@status:	; 1 bytes @ 0x0
	global	rs232_send_byte@x
rs232_send_byte@x:	; 1 bytes @ 0x0
	global	start@x
start@x:	; 2 bytes @ 0x0
	global	___awmod@divisor
___awmod@divisor:	; 2 bytes @ 0x0
	global	___fttol@f1
___fttol@f1:	; 3 bytes @ 0x0
	global	___ftneg@f1
___ftneg@f1:	; 3 bytes @ 0x0
	global	___ftge@ff1
___ftge@ff1:	; 3 bytes @ 0x0
	global	___ftpack@arg
___ftpack@arg:	; 3 bytes @ 0x0
	ds	1
	global	??_rs232_send_text
??_rs232_send_text:	; 0 bytes @ 0x1
	global	??_i2c_send_byte
??_i2c_send_byte:	; 0 bytes @ 0x1
	global	??_i2c_read_ack
??_i2c_read_ack:	; 0 bytes @ 0x1
	global	??_i2c_read_byte
??_i2c_read_byte:	; 0 bytes @ 0x1
	ds	1
	global	??_start
??_start:	; 0 bytes @ 0x2
	global	i2c_send_byte@byte
i2c_send_byte@byte:	; 1 bytes @ 0x2
	global	i2c_read_ack@ack
i2c_read_ack@ack:	; 1 bytes @ 0x2
	global	rs232_send_text@c
rs232_send_text@c:	; 1 bytes @ 0x2
	global	___awmod@dividend
___awmod@dividend:	; 2 bytes @ 0x2
	ds	1
	global	??___ftneg
??___ftneg:	; 0 bytes @ 0x3
	global	i2c_send_byte@i
i2c_send_byte@i:	; 1 bytes @ 0x3
	global	rs232_send_text@string
rs232_send_text@string:	; 1 bytes @ 0x3
	global	___ftpack@exp
___ftpack@exp:	; 1 bytes @ 0x3
	global	i2c_read_byte@i
i2c_read_byte@i:	; 2 bytes @ 0x3
	global	___ftge@ff2
___ftge@ff2:	; 3 bytes @ 0x3
	ds	1
	global	??_i2c_put_byte
??_i2c_put_byte:	; 0 bytes @ 0x4
	global	??___fttol
??___fttol:	; 0 bytes @ 0x4
	global	??___awmod
??___awmod:	; 0 bytes @ 0x4
	global	?_i2c_send_address
?_i2c_send_address:	; 1 bytes @ 0x4
	global	i2c_send_address@rw
i2c_send_address@rw:	; 1 bytes @ 0x4
	global	i2c_put_byte@data
i2c_put_byte@data:	; 1 bytes @ 0x4
	global	___ftpack@sign
___ftpack@sign:	; 1 bytes @ 0x4
	global	rs232_send_text@i
rs232_send_text@i:	; 2 bytes @ 0x4
	global	start@i
start@i:	; 2 bytes @ 0x4
	ds	1
	global	??___ftpack
??___ftpack:	; 0 bytes @ 0x5
	global	??_i2c_send_address
??_i2c_send_address:	; 0 bytes @ 0x5
	global	i2c_send_address@address
i2c_send_address@address:	; 1 bytes @ 0x5
	global	i2c_read_byte@byte
i2c_read_byte@byte:	; 1 bytes @ 0x5
	global	___awmod@counter
___awmod@counter:	; 1 bytes @ 0x5
	ds	1
	global	??___ftge
??___ftge:	; 0 bytes @ 0x6
	global	?_i2c_open
?_i2c_open:	; 1 bytes @ 0x6
	global	?_i2c_get_byte
?_i2c_get_byte:	; 2 bytes @ 0x6
	global	i2c_open@mode
i2c_open@mode:	; 1 bytes @ 0x6
	global	___awmod@sign
___awmod@sign:	; 1 bytes @ 0x6
	ds	1
	global	??_i2c_open
??_i2c_open:	; 0 bytes @ 0x7
	global	?___awdiv
?___awdiv:	; 2 bytes @ 0x7
	global	___awdiv@divisor
___awdiv@divisor:	; 2 bytes @ 0x7
	ds	1
	global	??_i2c_get_byte
??_i2c_get_byte:	; 0 bytes @ 0x8
	global	?___ftadd
?___ftadd:	; 3 bytes @ 0x8
	global	?___ftmul
?___ftmul:	; 3 bytes @ 0x8
	global	?___awtoft
?___awtoft:	; 3 bytes @ 0x8
	global	i2c_open@address
i2c_open@address:	; 1 bytes @ 0x8
	global	___fttol@sign1
___fttol@sign1:	; 1 bytes @ 0x8
	global	___awtoft@c
___awtoft@c:	; 2 bytes @ 0x8
	global	___ftadd@f1
___ftadd@f1:	; 3 bytes @ 0x8
	global	___ftmul@f1
___ftmul@f1:	; 3 bytes @ 0x8
	ds	1
	global	?_i2c_init
?_i2c_init:	; 2 bytes @ 0x9
	global	i2c_init@ADRESA2
i2c_init@ADRESA2:	; 1 bytes @ 0x9
	global	___awdiv@dividend
___awdiv@dividend:	; 2 bytes @ 0x9
	global	___fttol@lval
___fttol@lval:	; 4 bytes @ 0x9
	ds	1
	global	i2c_init@ADRESA3
i2c_init@ADRESA3:	; 1 bytes @ 0xA
	global	i2c_get_byte@byte
i2c_get_byte@byte:	; 2 bytes @ 0xA
	ds	1
	global	??_i2c_init
??_i2c_init:	; 0 bytes @ 0xB
	global	??___awtoft
??___awtoft:	; 0 bytes @ 0xB
	global	??___awdiv
??___awdiv:	; 0 bytes @ 0xB
	global	i2c_init@ADRESA1
i2c_init@ADRESA1:	; 1 bytes @ 0xB
	global	___ftadd@f2
___ftadd@f2:	; 3 bytes @ 0xB
	global	___ftmul@f2
___ftmul@f2:	; 3 bytes @ 0xB
	ds	1
	global	i2c_get_byte@more
i2c_get_byte@more:	; 1 bytes @ 0xC
	ds	1
	global	___fttol@exp1
___fttol@exp1:	; 1 bytes @ 0xD
	global	___awtoft@sign
___awtoft@sign:	; 1 bytes @ 0xD
	ds	1
	global	??_dinamo
??_dinamo:	; 0 bytes @ 0xE
	global	??_abs
??_abs:	; 0 bytes @ 0xE
	global	??___ftsub
??___ftsub:	; 0 bytes @ 0xE
psect	cstackBANK0,class=BANK0,space=1
global __pcstackBANK0
__pcstackBANK0:
	global	??___ftadd
??___ftadd:	; 0 bytes @ 0x0
	global	??___ftmul
??___ftmul:	; 0 bytes @ 0x0
	global	?_read_i2c
?_read_i2c:	; 2 bytes @ 0x0
	global	read_i2c@adr_reg
read_i2c@adr_reg:	; 1 bytes @ 0x0
	global	___awdiv@counter
___awdiv@counter:	; 1 bytes @ 0x0
	ds	1
	global	___awdiv@sign
___awdiv@sign:	; 1 bytes @ 0x1
	ds	1
	global	??_read_i2c
??_read_i2c:	; 0 bytes @ 0x2
	global	___awdiv@quotient
___awdiv@quotient:	; 2 bytes @ 0x2
	ds	2
	global	read_i2c@data
read_i2c@data:	; 1 bytes @ 0x4
	global	___ftadd@sign
___ftadd@sign:	; 1 bytes @ 0x4
	global	___ftmul@exp
___ftmul@exp:	; 1 bytes @ 0x4
	ds	1
	global	read_i2c@ADRESA
read_i2c@ADRESA:	; 1 bytes @ 0x5
	global	___ftadd@exp2
___ftadd@exp2:	; 1 bytes @ 0x5
	global	___ftmul@f3_as_product
___ftmul@f3_as_product:	; 3 bytes @ 0x5
	ds	1
	global	___ftadd@exp1
___ftadd@exp1:	; 1 bytes @ 0x6
	ds	1
	global	?_abs
?_abs:	; 3 bytes @ 0x7
	global	?___ftsub
?___ftsub:	; 3 bytes @ 0x7
	global	?___ftdiv
?___ftdiv:	; 3 bytes @ 0x7
	global	abs@x
abs@x:	; 3 bytes @ 0x7
	global	___ftsub@f2
___ftsub@f2:	; 3 bytes @ 0x7
	global	___ftdiv@f2
___ftdiv@f2:	; 3 bytes @ 0x7
	ds	1
	global	___ftmul@cntr
___ftmul@cntr:	; 1 bytes @ 0x8
	ds	1
	global	___ftmul@sign
___ftmul@sign:	; 1 bytes @ 0x9
	ds	1
	global	?_dinamo
?_dinamo:	; 0 bytes @ 0xA
	global	dinamo@rez
dinamo@rez:	; 3 bytes @ 0xA
	global	___ftsub@f1
___ftsub@f1:	; 3 bytes @ 0xA
	global	___ftdiv@f1
___ftdiv@f1:	; 3 bytes @ 0xA
	ds	3
	global	??___ftdiv
??___ftdiv:	; 0 bytes @ 0xD
	global	dinamo@dt
dinamo@dt:	; 2 bytes @ 0xD
	ds	2
	global	dinamo@t
dinamo@t:	; 2 bytes @ 0xF
	ds	2
	global	___ftdiv@cntr
___ftdiv@cntr:	; 1 bytes @ 0x11
	global	dinamo@s
dinamo@s:	; 2 bytes @ 0x11
	ds	1
	global	___ftdiv@f3
___ftdiv@f3:	; 3 bytes @ 0x12
	ds	1
	global	dinamo@d
dinamo@d:	; 2 bytes @ 0x13
	ds	2
	global	___ftdiv@exp
___ftdiv@exp:	; 1 bytes @ 0x15
	global	dinamo@j
dinamo@j:	; 2 bytes @ 0x15
	ds	1
	global	___ftdiv@sign
___ftdiv@sign:	; 1 bytes @ 0x16
	ds	1
	global	?_rezultat
?_rezultat:	; 3 bytes @ 0x17
	global	rezultat@low
rezultat@low:	; 1 bytes @ 0x17
	global	dinamo@temp
dinamo@temp:	; 2 bytes @ 0x17
	ds	3
	global	??_rezultat
??_rezultat:	; 0 bytes @ 0x1A
	ds	2
	global	rezultat@high_int
rezultat@high_int:	; 2 bytes @ 0x1C
	ds	2
	global	rezultat@low_int
rezultat@low_int:	; 2 bytes @ 0x1E
	ds	2
	global	rezultat@minus
rezultat@minus:	; 3 bytes @ 0x20
	ds	3
	global	rezultat@mask
rezultat@mask:	; 1 bytes @ 0x23
	ds	1
	global	rezultat@high
rezultat@high:	; 1 bytes @ 0x24
	ds	1
	global	rezultat@rez
rezultat@rez:	; 3 bytes @ 0x25
	ds	3
	global	??_main
??_main:	; 0 bytes @ 0x28
	ds	3
	global	_main$5766
_main$5766:	; 3 bytes @ 0x2B
	ds	3
	global	main@i
main@i:	; 2 bytes @ 0x2E
	ds	2
	global	main@faktor
main@faktor:	; 3 bytes @ 0x30
	ds	3
	global	main@x_min
main@x_min:	; 3 bytes @ 0x33
	ds	3
	global	main@y_min
main@y_min:	; 3 bytes @ 0x36
	ds	3
	global	main@high
main@high:	; 1 bytes @ 0x39
	ds	1
	global	main@low
main@low:	; 1 bytes @ 0x3A
	ds	1
	global	main@x_max
main@x_max:	; 3 bytes @ 0x3B
	ds	3
	global	main@y_max
main@y_max:	; 3 bytes @ 0x3E
	ds	3
	global	main@x
main@x:	; 3 bytes @ 0x41
	ds	3
	global	main@y
main@y:	; 3 bytes @ 0x44
	ds	3
;;Data sizes: Strings 223, constant 0, data 0, bss 0, persistent 0 stack 0
;;Auto spaces:   Size  Autos    Used
;; COMMON          14     14      14
;; BANK0           80     71      71
;; BANK1           80      0       0
;; BANK2           80      0       0

;;
;; Pointer list with targets:

;; ?___ftpack	float  size(1) Largest target is 0
;;
;; ?___awmod	int  size(1) Largest target is 0
;;
;; ?___awdiv	int  size(1) Largest target is 0
;;
;; ?___fttol	long  size(1) Largest target is 0
;;
;; ?___awtoft	float  size(1) Largest target is 0
;;
;; ?___ftmul	float  size(1) Largest target is 0
;;
;; ?___ftsub	float  size(1) Largest target is 0
;;
;; ?___ftdiv	float  size(1) Largest target is 0
;;
;; ?___ftadd	float  size(1) Largest target is 0
;;
;; ?___ftneg	float  size(1) Largest target is 0
;;
;; ?_abs	float  size(1) Largest target is 0
;;
;; ?_rezultat	float  size(1) Largest target is 0
;;
;; ?_read_i2c	int  size(1) Largest target is 0
;;
;; ?_i2c_get_byte	int  size(1) Largest target is 0
;;
;; rs232_send_text@string	PTR const unsigned char  size(1) Largest target is 53
;;		 -> STR_18(CODE[8]), STR_17(CODE[8]), STR_16(CODE[8]), STR_15(CODE[9]), 
;;		 -> STR_14(CODE[9]), STR_13(CODE[9]), STR_12(CODE[38]), STR_11(CODE[12]), 
;;		 -> STR_10(CODE[12]), STR_9(CODE[11]), STR_8(CODE[10]), STR_7(CODE[10]), 
;;		 -> STR_6(CODE[3]), STR_5(CODE[2]), STR_4(CODE[2]), STR_3(CODE[2]), 
;;		 -> STR_2(CODE[21]), STR_1(CODE[53]), 
;;


;;
;; Critical Paths under _main in COMMON
;;
;;   _main->___ftadd
;;   _main->___ftmul
;;   _read_i2c->_i2c_get_byte
;;   _i2c_init->_i2c_open
;;   _i2c_open->_i2c_send_address
;;   _i2c_get_byte->_i2c_read_byte
;;   _i2c_put_byte->_i2c_send_byte
;;   _i2c_send_address->_i2c_send_byte
;;   ___ftsub->___ftadd
;;   _dinamo->___ftmul
;;   _dinamo->___fttol
;;   _rezultat->___awtoft
;;   _rezultat->___ftmul
;;   _i2c_read_byte->_i2c_wait_for_SCL
;;   _i2c_read_ack->_i2c_wait_for_SCL
;;   _i2c_send_byte->_i2c_wait_for_SCL
;;   ___awtoft->___ftpack
;;   ___ftmul->___ftpack
;;   ___ftdiv->___ftadd
;;   ___ftadd->___ftpack
;;   _abs->___ftadd
;;   _rs232_send_text->_rs232_send_byte
;;   ___awdiv->___awmod
;;
;; Critical Paths under _main in BANK0
;;
;;   _main->_rezultat
;;   ___ftsub->___ftadd
;;   _dinamo->_abs
;;   _dinamo->___ftmul
;;   _rezultat->___ftdiv
;;   ___ftdiv->___ftadd
;;   _abs->___ftadd
;;
;; Critical Paths under _main in BANK1
;;
;;   None.
;;
;; Critical Paths under _main in BANK2
;;
;;   None.

;;
;;Main: autosize = 0, tempsize = 3, incstack = 0, save=0
;;

;;
;;Call Graph Tables:
;;
;; ---------------------------------------------------------------------------------
;; (Depth) Function   	        Calls       Base Space   Used Autos Params    Refs
;; ---------------------------------------------------------------------------------
;; (0) _main                                                34    34      0   10263
;;                                             40 BANK0     31    31      0
;;                           _init_PIC
;;                              _start
;;                         _rs232_init
;;                           _i2c_init
;;                    _rs232_send_byte
;;                    _rs232_send_text
;;                           _read_i2c
;;                           _rezultat
;;                             ___ftge
;;                             _dinamo
;;                            ___ftneg
;;                            ___ftadd
;;                                _abs
;;                            ___ftdiv
;;                            ___ftsub
;;                            ___ftmul
;; ---------------------------------------------------------------------------------
;; (1) _read_i2c                                             6     4      2     808
;;                                              0 BANK0      6     4      2
;;                           _i2c_open
;;                    _rs232_send_text
;;                       _i2c_put_byte
;;                       _i2c_get_byte
;; ---------------------------------------------------------------------------------
;; (1) _i2c_init                                             3     1      2     625
;;                                              9 COMMON     3     1      2
;;                           _i2c_open
;;                    _rs232_send_text
;;                       _i2c_put_byte
;;                           _i2c_stop
;; ---------------------------------------------------------------------------------
;; (2) _i2c_open                                             3     2      1     245
;;                                              6 COMMON     3     2      1
;;                        _i2c_restart
;;                   _i2c_send_address
;;                       _i2c_read_ack
;; ---------------------------------------------------------------------------------
;; (2) _i2c_get_byte                                         7     5      2     160
;;                                              6 COMMON     7     5      2
;;                      _i2c_read_byte
;;                       _i2c_send_ack
;; ---------------------------------------------------------------------------------
;; (2) _i2c_put_byte                                         1     1      0     179
;;                                              4 COMMON     1     1      0
;;                      _i2c_send_byte
;;                       _i2c_read_ack
;; ---------------------------------------------------------------------------------
;; (3) _i2c_send_address                                     2     1      1     178
;;                                              4 COMMON     2     1      1
;;                      _i2c_send_byte
;; ---------------------------------------------------------------------------------
;; (1) ___ftsub                                              6     0      6    1094
;;                                              7 BANK0      6     0      6
;;                            ___ftadd
;; ---------------------------------------------------------------------------------
;; (1) _dinamo                                              15    12      3    2220
;;                                             10 BANK0     15    12      3
;;                             ___ftge
;;                    _rs232_send_byte
;;                                _abs
;;                            ___ftmul
;;                            ___fttol
;;                            ___awdiv
;;                            ___awmod
;; ---------------------------------------------------------------------------------
;; (1) _rezultat                                            17    14      3    1556
;;                                             23 BANK0     17    14      3
;;                           ___awtoft
;;                            ___ftmul
;;                            ___ftdiv
;; ---------------------------------------------------------------------------------
;; (3) _i2c_read_byte                                        5     5      0      93
;;                                              1 COMMON     5     5      0
;;                   _i2c_wait_for_SCL
;; ---------------------------------------------------------------------------------
;; (3) _i2c_read_ack                                         2     2      0      23
;;                                              1 COMMON     2     2      0
;;                   _i2c_wait_for_SCL
;; ---------------------------------------------------------------------------------
;; (3) _i2c_send_byte                                        3     3      0     134
;;                                              1 COMMON     3     3      0
;;                   _i2c_wait_for_SCL
;; ---------------------------------------------------------------------------------
;; (2) ___awtoft                                             6     3      3     300
;;                                              8 COMMON     6     3      3
;;                           ___ftpack
;; ---------------------------------------------------------------------------------
;; (1) ___ftmul                                             16    10      6     535
;;                                              8 COMMON     6     0      6
;;                                              0 BANK0     10    10      0
;;                           ___ftpack
;; ---------------------------------------------------------------------------------
;; (1) ___ftdiv                                             16    10      6     489
;;                                              7 BANK0     16    10      6
;;                           ___ftpack
;;                            ___ftadd (ARG)
;;                            ___ftneg (ARG)
;; ---------------------------------------------------------------------------------
;; (2) ___ftadd                                             13     7      6    1049
;;                                              8 COMMON     6     0      6
;;                                              0 BANK0      7     7      0
;;                           ___ftpack
;;                            ___ftneg (ARG)
;; ---------------------------------------------------------------------------------
;; (1) _abs                                                  3     0      3     247
;;                                              7 BANK0      3     0      3
;;                             ___ftge
;;                            ___ftneg
;;                            ___ftadd (ARG)
;; ---------------------------------------------------------------------------------
;; (2) _rs232_send_text                                      5     5      0     135
;;                                              1 COMMON     5     5      0
;;                    _rs232_send_byte
;; ---------------------------------------------------------------------------------
;; (1) _start                                                6     4      2      46
;;                                              0 COMMON     6     4      2
;; ---------------------------------------------------------------------------------
;; (3) _i2c_send_ack                                         1     1      0      22
;;                                              0 COMMON     1     1      0
;; ---------------------------------------------------------------------------------
;; (4) _i2c_wait_for_SCL                                     1     1      0       0
;;                                              0 COMMON     1     1      0
;; ---------------------------------------------------------------------------------
;; (3) _i2c_restart                                          0     0      0       0
;; ---------------------------------------------------------------------------------
;; (2) _i2c_stop                                             0     0      0       0
;; ---------------------------------------------------------------------------------
;; (2) ___awmod                                              7     3      4     296
;;                                              0 COMMON     7     3      4
;; ---------------------------------------------------------------------------------
;; (2) ___ftge                                              12     6      6     136
;;                                              0 COMMON    12     6      6
;; ---------------------------------------------------------------------------------
;; (2) ___ftneg                                              3     0      3      45
;;                                              0 COMMON     3     0      3
;; ---------------------------------------------------------------------------------
;; (2) ___awdiv                                              9     5      4     300
;;                                              7 COMMON     5     1      4
;;                                              0 BANK0      4     4      0
;;                            ___awmod (ARG)
;; ---------------------------------------------------------------------------------
;; (2) ___fttol                                             14    10      4     252
;;                                              0 COMMON    14    10      4
;; ---------------------------------------------------------------------------------
;; (2) ___ftpack                                             8     3      5     209
;;                                              0 COMMON     8     3      5
;; ---------------------------------------------------------------------------------
;; (2) _rs232_send_byte                                      1     1      0      22
;;                                              0 COMMON     1     1      0
;; ---------------------------------------------------------------------------------
;; (1) _rs232_init                                           0     0      0       0
;; ---------------------------------------------------------------------------------
;; (1) _init_PIC                                             0     0      0       0
;; ---------------------------------------------------------------------------------
;; Estimated maximum stack depth 4
;; ---------------------------------------------------------------------------------

;; Call Graph Graphs:

;; _main (ROOT)
;;   _init_PIC
;;   _start
;;   _rs232_init
;;   _i2c_init
;;     _i2c_open
;;       _i2c_restart
;;       _i2c_send_address
;;         _i2c_send_byte
;;           _i2c_wait_for_SCL
;;       _i2c_read_ack
;;         _i2c_wait_for_SCL
;;     _rs232_send_text
;;       _rs232_send_byte
;;     _i2c_put_byte
;;       _i2c_send_byte
;;         _i2c_wait_for_SCL
;;       _i2c_read_ack
;;         _i2c_wait_for_SCL
;;     _i2c_stop
;;   _rs232_send_byte
;;   _rs232_send_text
;;     _rs232_send_byte
;;   _read_i2c
;;     _i2c_open
;;       _i2c_restart
;;       _i2c_send_address
;;         _i2c_send_byte
;;           _i2c_wait_for_SCL
;;       _i2c_read_ack
;;         _i2c_wait_for_SCL
;;     _rs232_send_text
;;       _rs232_send_byte
;;     _i2c_put_byte
;;       _i2c_send_byte
;;         _i2c_wait_for_SCL
;;       _i2c_read_ack
;;         _i2c_wait_for_SCL
;;     _i2c_get_byte
;;       _i2c_read_byte
;;         _i2c_wait_for_SCL
;;       _i2c_send_ack
;;   _rezultat
;;     ___awtoft
;;       ___ftpack
;;     ___ftmul
;;       ___ftpack
;;     ___ftdiv
;;       ___ftpack
;;       ___ftadd (ARG)
;;         ___ftpack
;;         ___ftneg (ARG)
;;       ___ftneg (ARG)
;;   ___ftge
;;   _dinamo
;;     ___ftge
;;     _rs232_send_byte
;;     _abs
;;       ___ftge
;;       ___ftneg
;;       ___ftadd (ARG)
;;         ___ftpack
;;         ___ftneg (ARG)
;;     ___ftmul
;;       ___ftpack
;;     ___fttol
;;     ___awdiv
;;       ___awmod (ARG)
;;     ___awmod
;;   ___ftneg
;;   ___ftadd
;;     ___ftpack
;;     ___ftneg (ARG)
;;   _abs
;;     ___ftge
;;     ___ftneg
;;     ___ftadd (ARG)
;;       ___ftpack
;;       ___ftneg (ARG)
;;   ___ftdiv
;;     ___ftpack
;;     ___ftadd (ARG)
;;       ___ftpack
;;       ___ftneg (ARG)
;;     ___ftneg (ARG)
;;   ___ftsub
;;     ___ftadd
;;       ___ftpack
;;       ___ftneg (ARG)
;;   ___ftmul
;;     ___ftpack
;;

;; Address spaces:

;;Name               Size   Autos  Total    Cost      Usage
;;BITCOMMON            E      0       0       0        0.0%
;;EEDATA             100      0       0       0        0.0%
;;NULL                 0      0       0       0        0.0%
;;CODE                 0      0       0       0        0.0%
;;COMMON               E      E       E       1      100.0%
;;BITSFR0              0      0       0       1        0.0%
;;SFR0                 0      0       0       1        0.0%
;;BITSFR1              0      0       0       2        0.0%
;;SFR1                 0      0       0       2        0.0%
;;STACK                0      0       5       2        0.0%
;;BANK0               50     47      47       3       88.8%
;;BITBANK1            50      0       0       4        0.0%
;;BITSFR3              0      0       0       4        0.0%
;;SFR3                 0      0       0       4        0.0%
;;BANK1               50      0       0       5        0.0%
;;BITSFR2              0      0       0       5        0.0%
;;SFR2                 0      0       0       5        0.0%
;;BITBANK2            50      0       0       6        0.0%
;;BANK2               50      0       0       7        0.0%
;;ABS                  0      0       0       8        0.0%
;;BITBANK0            50      0       0       9        0.0%
;;DATA                 0      0       0      10        0.0%

	global	_main
psect	maintext,global,class=CODE,delta=2
global __pmaintext
__pmaintext:

;; *************** function _main *****************
;; Defined at:
;;		line 17 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\main.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  i               2   46[BANK0 ] int 
;;  y               3   68[BANK0 ] float 
;;  x               3   65[BANK0 ] float 
;;  y_max           3   62[BANK0 ] float 
;;  x_max           3   59[BANK0 ] float 
;;  y_min           3   54[BANK0 ] float 
;;  x_min           3   51[BANK0 ] float 
;;  faktor          3   48[BANK0 ] float 
;;  low             1   58[BANK0 ] unsigned char 
;;  high            1   57[BANK0 ] unsigned char 
;; 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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0      28       0       0
;;      Temps:          0       3       0       0
;;      Totals:         0      31       0       0
;;Total ram usage:       31 bytes
;; Hardware stack levels required when called:    5
;; This function calls:
;;		_init_PIC
;;		_start
;;		_rs232_init
;;		_i2c_init
;;		_rs232_send_byte
;;		_rs232_send_text
;;		_read_i2c
;;		_rezultat
;;		___ftge
;;		_dinamo
;;		___ftneg
;;		___ftadd
;;		_abs
;;		___ftdiv
;;		___ftsub
;;		___ftmul
;; This function is called by:
;;		Startup code after reset
;; This function uses a non-reentrant model
;;
psect	maintext
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\main.c"
	line	17
	global	__size_of_main
	__size_of_main	equ	__end_of_main-_main
	
_main:	
	opt	stack 3
; Regs used in _main: [wreg-fsr0h+status,2+status,0+btemp+1+pclath+cstack]
	line	19
	
l7676:	
;main.c: 18: char high, low;
;main.c: 19: float x=0, y=0, x_max=0, y_max=0, x_min=0, y_min=0, faktor=1;
	movlw	0x0
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(main@x)
	movlw	0x0
	movwf	(main@x+1)
	movlw	0x0
	movwf	(main@x+2)
	movlw	0x0
	movwf	(main@y)
	movlw	0x0
	movwf	(main@y+1)
	movlw	0x0
	movwf	(main@y+2)
	movlw	0x0
	movwf	(main@x_max)
	movlw	0x0
	movwf	(main@x_max+1)
	movlw	0x0
	movwf	(main@x_max+2)
	movlw	0x0
	movwf	(main@y_max)
	movlw	0x0
	movwf	(main@y_max+1)
	movlw	0x0
	movwf	(main@y_max+2)
	movlw	0x0
	movwf	(main@x_min)
	movlw	0x0
	movwf	(main@x_min+1)
	movlw	0x0
	movwf	(main@x_min+2)
	movlw	0x0
	movwf	(main@y_min)
	movlw	0x0
	movwf	(main@y_min+1)
	movlw	0x0
	movwf	(main@y_min+2)
	movlw	0x0
	movwf	(main@faktor)
	movlw	0x80
	movwf	(main@faktor+1)
	movlw	0x3f
	movwf	(main@faktor+2)
	line	20
	
l7678:	
;main.c: 20: init_PIC();
	fcall	_init_PIC
	line	21
	
l7680:	
;main.c: 21: start(5);
	movlw	low(05h)
	movwf	(?_start)
	movlw	high(05h)
	movwf	((?_start))+1
	fcall	_start
	line	22
	
l7682:	
;main.c: 22: rs232_init();
	fcall	_rs232_init
	line	24
;main.c: 24: while(!i2c_init((0x3C), 0x00, 0b00111000));
	goto	l7684
	
l1873:	
	goto	l7684
	
l1872:	
	
l7684:	
	clrf	(?_i2c_init)
	movlw	(038h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	0+(?_i2c_init)+01h
	movlw	(03Ch)
	fcall	_i2c_init
	movf	(1+(?_i2c_init)),w
	iorwf	(0+(?_i2c_init)),w
	skipnz
	goto	u4211
	goto	u4210
u4211:
	goto	l7684
u4210:
	goto	l7686
	
l1874:	
	line	25
;main.c: 25: while(!i2c_init((0x3C), 0x01, 0b00100000));
	goto	l7686
	
l1876:	
	goto	l7686
	
l1875:	
	
l7686:	
	clrf	(?_i2c_init)
	bsf	status,0
	rlf	(?_i2c_init),f
	movlw	(020h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	0+(?_i2c_init)+01h
	movlw	(03Ch)
	fcall	_i2c_init
	movf	(1+(?_i2c_init)),w
	iorwf	(0+(?_i2c_init)),w
	skipnz
	goto	u4221
	goto	u4220
u4221:
	goto	l7686
u4220:
	goto	l7688
	
l1877:	
	line	26
;main.c: 26: while(!i2c_init((0x3C), 0x02, 0b00000000));
	goto	l7688
	
l1879:	
	goto	l7688
	
l1878:	
	
l7688:	
	movlw	(02h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_i2c_init)
	clrf	0+(?_i2c_init)+01h
	movlw	(03Ch)
	fcall	_i2c_init
	movf	(1+(?_i2c_init)),w
	iorwf	(0+(?_i2c_init)),w
	skipnz
	goto	u4231
	goto	u4230
u4231:
	goto	l7688
u4230:
	goto	l7690
	
l1880:	
	line	28
	
l7690:	
;main.c: 28: rs232_send_byte(0x0C);
	movlw	(0Ch)
	fcall	_rs232_send_byte
	line	29
	
l7692:	
;main.c: 29: rs232_send_text("PROJEKT: 5. zadatak\rKalibracija magnetskog kompasa.\r");
	movlw	((STR_1-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	31
;main.c: 31: while(RA3==1);
	goto	l1881
	
l1882:	
	
l1881:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(43/8),(43)&7
	goto	u4241
	goto	u4240
u4241:
	goto	l1881
u4240:
	goto	l7694
	
l1883:	
	line	32
	
l7694:	
;main.c: 32: _delay((unsigned long)((1000)*(4000000/4000.0)));
	opt asmopt_off
movlw  6
movwf	((??_main+0)+0+2),f
movlw	19
movwf	((??_main+0)+0+1),f
	movlw	177
movwf	((??_main+0)+0),f
u4327:
	decfsz	((??_main+0)+0),f
	goto	u4327
	decfsz	((??_main+0)+0+1),f
	goto	u4327
	decfsz	((??_main+0)+0+2),f
	goto	u4327
	nop2
opt asmopt_on

	line	33
	
l7696:	
;main.c: 33: rs232_send_byte(0x0C);
	movlw	(0Ch)
	fcall	_rs232_send_byte
	goto	l7698
	line	35
;main.c: 35: while(1)
	
l1884:	
	line	37
	
l7698:	
;main.c: 36: {
;main.c: 37: if (RA3 == 0)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(43/8),(43)&7
	goto	u4251
	goto	u4250
u4251:
	goto	l7796
u4250:
	line	39
	
l7700:	
;main.c: 38: {
;main.c: 39: x_max=-2; y_max=-2; x_min=2; y_min=2; faktor=0;
	movlw	0x0
	movwf	(main@x_max)
	movlw	0x0
	movwf	(main@x_max+1)
	movlw	0xc0
	movwf	(main@x_max+2)
	movlw	0x0
	movwf	(main@y_max)
	movlw	0x0
	movwf	(main@y_max+1)
	movlw	0xc0
	movwf	(main@y_max+2)
	movlw	0x0
	movwf	(main@x_min)
	movlw	0x0
	movwf	(main@x_min+1)
	movlw	0x40
	movwf	(main@x_min+2)
	movlw	0x0
	movwf	(main@y_min)
	movlw	0x0
	movwf	(main@y_min+1)
	movlw	0x40
	movwf	(main@y_min+2)
	movlw	0x0
	movwf	(main@faktor)
	movlw	0x0
	movwf	(main@faktor+1)
	movlw	0x0
	movwf	(main@faktor+2)
	line	40
;main.c: 40: PORTC = 0x02;
	movlw	(02h)
	movwf	(7)	;volatile
	line	41
	
l7702:	
;main.c: 41: rs232_send_text("Calibration mode...\r");
	movlw	((STR_2-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	42
	
l7704:	
;main.c: 42: _delay((unsigned long)((500)*(4000000/4000.0)));
	opt asmopt_off
movlw  3
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+2),f
movlw	138
movwf	((??_main+0)+0+1),f
	movlw	86
movwf	((??_main+0)+0),f
u4337:
	decfsz	((??_main+0)+0),f
	goto	u4337
	decfsz	((??_main+0)+0+1),f
	goto	u4337
	decfsz	((??_main+0)+0+2),f
	goto	u4337
	nop2
opt asmopt_on

	line	43
	
l7706:	
;main.c: 43: for (int i = 0; i<100; i++)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(main@i)
	clrf	(main@i+1)
	
l7708:	
	movf	(main@i+1),w
	xorlw	80h
	movwf	btemp+1
	movlw	(high(064h))^80h
	subwf	btemp+1,w
	skipz
	goto	u4265
	movlw	low(064h)
	subwf	(main@i),w
u4265:

	skipc
	goto	u4261
	goto	u4260
u4261:
	goto	l7712
u4260:
	goto	l7768
	
l7710:	
	goto	l7768
	line	44
	
l1886:	
	line	45
	
l7712:	
;main.c: 44: {
;main.c: 45: low = read_i2c ((0x3C), 0x04);
	movlw	(04h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	46
;main.c: 46: high = read_i2c ((0x3C), 0x03);
	movlw	(03h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	47
	
l7714:	
;main.c: 47: x = rezultat (high, low);
	movf	(main@low),w
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_rezultat)
	movf	(main@high),w
	fcall	_rezultat
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_rezultat)),w
	movwf	(main@x)
	movf	(1+(?_rezultat)),w
	movwf	(main@x+1)
	movf	(2+(?_rezultat)),w
	movwf	(main@x+2)
	line	49
	
l7716:	
;main.c: 49: low = read_i2c ((0x3C), 0x08);
	movlw	(08h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	50
	
l7718:	
;main.c: 50: high = read_i2c ((0x3C), 0x07);
	movlw	(07h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	51
	
l7720:	
;main.c: 51: y = rezultat (high, low);
	movf	(main@low),w
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_rezultat)
	movf	(main@high),w
	fcall	_rezultat
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_rezultat)),w
	movwf	(main@y)
	movf	(1+(?_rezultat)),w
	movwf	(main@y+1)
	movf	(2+(?_rezultat)),w
	movwf	(main@y+2)
	line	53
;main.c: 53: low = read_i2c ((0x3C), 0x06);
	movlw	(06h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	54
;main.c: 54: high = read_i2c ((0x3C), 0x05);
	movlw	(05h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	61
	
l7722:	
;main.c: 61: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
movwf	((??_main+0)+0+1),f
	movlw	251
movwf	((??_main+0)+0),f
u4347:
	decfsz	((??_main+0)+0),f
	goto	u4347
	decfsz	((??_main+0)+0+1),f
	goto	u4347
	nop2
opt asmopt_on

	line	62
	
l7724:	
;main.c: 62: if (x>x_max)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x_max),w
	movwf	(?___ftge)
	movf	(main@x_max+1),w
	movwf	(?___ftge+1)
	movf	(main@x_max+2),w
	movwf	(?___ftge+2)
	movf	(main@x),w
	movwf	0+(?___ftge)+03h
	movf	(main@x+1),w
	movwf	1+(?___ftge)+03h
	movf	(main@x+2),w
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u4271
	goto	u4270
u4271:
	goto	l7728
u4270:
	line	63
	
l7726:	
;main.c: 63: x_max = x;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x),w
	movwf	(main@x_max)
	movf	(main@x+1),w
	movwf	(main@x_max+1)
	movf	(main@x+2),w
	movwf	(main@x_max+2)
	goto	l7728
	
l1888:	
	line	64
	
l7728:	
;main.c: 64: dinamo (x_max);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x_max),w
	movwf	(?_dinamo)
	movf	(main@x_max+1),w
	movwf	(?_dinamo+1)
	movf	(main@x_max+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	65
	
l7730:	
;main.c: 65: rs232_send_text(" ");
	movlw	((STR_3-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	67
	
l7732:	
;main.c: 67: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+1),f
	movlw	251
movwf	((??_main+0)+0),f
u4357:
	decfsz	((??_main+0)+0),f
	goto	u4357
	decfsz	((??_main+0)+0+1),f
	goto	u4357
	nop2
opt asmopt_on

	line	68
	
l7734:	
;main.c: 68: if (x<x_min)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x),w
	movwf	(?___ftge)
	movf	(main@x+1),w
	movwf	(?___ftge+1)
	movf	(main@x+2),w
	movwf	(?___ftge+2)
	movf	(main@x_min),w
	movwf	0+(?___ftge)+03h
	movf	(main@x_min+1),w
	movwf	1+(?___ftge)+03h
	movf	(main@x_min+2),w
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u4281
	goto	u4280
u4281:
	goto	l7738
u4280:
	line	69
	
l7736:	
;main.c: 69: x_min = x;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x),w
	movwf	(main@x_min)
	movf	(main@x+1),w
	movwf	(main@x_min+1)
	movf	(main@x+2),w
	movwf	(main@x_min+2)
	goto	l7738
	
l1889:	
	line	70
	
l7738:	
;main.c: 70: dinamo (x_min);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x_min),w
	movwf	(?_dinamo)
	movf	(main@x_min+1),w
	movwf	(?_dinamo+1)
	movf	(main@x_min+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	71
	
l7740:	
;main.c: 71: rs232_send_text(" ");
	movlw	((STR_4-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	73
	
l7742:	
;main.c: 73: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+1),f
	movlw	251
movwf	((??_main+0)+0),f
u4367:
	decfsz	((??_main+0)+0),f
	goto	u4367
	decfsz	((??_main+0)+0+1),f
	goto	u4367
	nop2
opt asmopt_on

	line	74
	
l7744:	
;main.c: 74: if (y>y_max)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y_max),w
	movwf	(?___ftge)
	movf	(main@y_max+1),w
	movwf	(?___ftge+1)
	movf	(main@y_max+2),w
	movwf	(?___ftge+2)
	movf	(main@y),w
	movwf	0+(?___ftge)+03h
	movf	(main@y+1),w
	movwf	1+(?___ftge)+03h
	movf	(main@y+2),w
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u4291
	goto	u4290
u4291:
	goto	l7748
u4290:
	line	75
	
l7746:	
;main.c: 75: y_max = y;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(main@y_max)
	movf	(main@y+1),w
	movwf	(main@y_max+1)
	movf	(main@y+2),w
	movwf	(main@y_max+2)
	goto	l7748
	
l1890:	
	line	76
	
l7748:	
;main.c: 76: dinamo (y_max);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y_max),w
	movwf	(?_dinamo)
	movf	(main@y_max+1),w
	movwf	(?_dinamo+1)
	movf	(main@y_max+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	77
	
l7750:	
;main.c: 77: rs232_send_text(" ");
	movlw	((STR_5-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	79
	
l7752:	
;main.c: 79: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+1),f
	movlw	251
movwf	((??_main+0)+0),f
u4377:
	decfsz	((??_main+0)+0),f
	goto	u4377
	decfsz	((??_main+0)+0+1),f
	goto	u4377
	nop2
opt asmopt_on

	line	80
	
l7754:	
;main.c: 80: if (y<y_min)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(?___ftge)
	movf	(main@y+1),w
	movwf	(?___ftge+1)
	movf	(main@y+2),w
	movwf	(?___ftge+2)
	movf	(main@y_min),w
	movwf	0+(?___ftge)+03h
	movf	(main@y_min+1),w
	movwf	1+(?___ftge)+03h
	movf	(main@y_min+2),w
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u4301
	goto	u4300
u4301:
	goto	l7758
u4300:
	line	81
	
l7756:	
;main.c: 81: y_min = y;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(main@y_min)
	movf	(main@y+1),w
	movwf	(main@y_min+1)
	movf	(main@y+2),w
	movwf	(main@y_min+2)
	goto	l7758
	
l1891:	
	line	82
	
l7758:	
;main.c: 82: dinamo (y_min);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y_min),w
	movwf	(?_dinamo)
	movf	(main@y_min+1),w
	movwf	(?_dinamo+1)
	movf	(main@y_min+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	83
	
l7760:	
;main.c: 83: rs232_send_text(" \r");
	movlw	((STR_6-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	85
	
l7762:	
;main.c: 85: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+1),f
	movlw	251
movwf	((??_main+0)+0),f
u4387:
	decfsz	((??_main+0)+0),f
	goto	u4387
	decfsz	((??_main+0)+0+1),f
	goto	u4387
	nop2
opt asmopt_on

	line	43
	
l7764:	
	movlw	low(01h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	addwf	(main@i),f
	skipnc
	incf	(main@i+1),f
	movlw	high(01h)
	addwf	(main@i+1),f
	
l7766:	
	movf	(main@i+1),w
	xorlw	80h
	movwf	btemp+1
	movlw	(high(064h))^80h
	subwf	btemp+1,w
	skipz
	goto	u4315
	movlw	low(064h)
	subwf	(main@i),w
u4315:

	skipc
	goto	u4311
	goto	u4310
u4311:
	goto	l7712
u4310:
	goto	l7768
	
l1887:	
	line	87
	
l7768:	
;main.c: 86: }
;main.c: 87: x = abs (x_max - x_min);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x_max),w
	movwf	(?___ftadd)
	movf	(main@x_max+1),w
	movwf	(?___ftadd+1)
	movf	(main@x_max+2),w
	movwf	(?___ftadd+2)
	movf	(main@x_min),w
	movwf	(?___ftneg)
	movf	(main@x_min+1),w
	movwf	(?___ftneg+1)
	movf	(main@x_min+2),w
	movwf	(?___ftneg+2)
	fcall	___ftneg
	movf	(0+(?___ftneg)),w
	movwf	0+(?___ftadd)+03h
	movf	(1+(?___ftneg)),w
	movwf	1+(?___ftadd)+03h
	movf	(2+(?___ftneg)),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_abs)
	movf	(1+(?___ftadd)),w
	movwf	(?_abs+1)
	movf	(2+(?___ftadd)),w
	movwf	(?_abs+2)
	fcall	_abs
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_abs)),w
	movwf	(main@x)
	movf	(1+(?_abs)),w
	movwf	(main@x+1)
	movf	(2+(?_abs)),w
	movwf	(main@x+2)
	line	88
;main.c: 88: y = abs (y_max - y_min);
	movf	(main@y_max),w
	movwf	(?___ftadd)
	movf	(main@y_max+1),w
	movwf	(?___ftadd+1)
	movf	(main@y_max+2),w
	movwf	(?___ftadd+2)
	movf	(main@y_min),w
	movwf	(?___ftneg)
	movf	(main@y_min+1),w
	movwf	(?___ftneg+1)
	movf	(main@y_min+2),w
	movwf	(?___ftneg+2)
	fcall	___ftneg
	movf	(0+(?___ftneg)),w
	movwf	0+(?___ftadd)+03h
	movf	(1+(?___ftneg)),w
	movwf	1+(?___ftadd)+03h
	movf	(2+(?___ftneg)),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_abs)
	movf	(1+(?___ftadd)),w
	movwf	(?_abs+1)
	movf	(2+(?___ftadd)),w
	movwf	(?_abs+2)
	fcall	_abs
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_abs)),w
	movwf	(main@y)
	movf	(1+(?_abs)),w
	movwf	(main@y+1)
	movf	(2+(?_abs)),w
	movwf	(main@y+2)
	line	90
;main.c: 90: dinamo (x);
	movf	(main@x),w
	movwf	(?_dinamo)
	movf	(main@x+1),w
	movwf	(?_dinamo+1)
	movf	(main@x+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	91
	
l7770:	
;main.c: 91: rs232_send_text(" = x abs\r");
	movlw	((STR_7-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	92
	
l7772:	
;main.c: 92: dinamo (y);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(?_dinamo)
	movf	(main@y+1),w
	movwf	(?_dinamo+1)
	movf	(main@y+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	93
;main.c: 93: rs232_send_text(" = y abs\r");
	movlw	((STR_8-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	95
	
l7774:	
;main.c: 95: faktor = x/y;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(?___ftdiv)
	movf	(main@y+1),w
	movwf	(?___ftdiv+1)
	movf	(main@y+2),w
	movwf	(?___ftdiv+2)
	movf	(main@x),w
	movwf	0+(?___ftdiv)+03h
	movf	(main@x+1),w
	movwf	1+(?___ftdiv)+03h
	movf	(main@x+2),w
	movwf	2+(?___ftdiv)+03h
	fcall	___ftdiv
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftdiv)),w
	movwf	(main@faktor)
	movf	(1+(?___ftdiv)),w
	movwf	(main@faktor+1)
	movf	(2+(?___ftdiv)),w
	movwf	(main@faktor+2)
	line	96
	
l7776:	
;main.c: 96: x = x_min + (x_max - x_min)/2.0;
	movlw	0x0
	movwf	(?___ftdiv)
	movlw	0x0
	movwf	(?___ftdiv+1)
	movlw	0x40
	movwf	(?___ftdiv+2)
	movf	(main@x_max),w
	movwf	(?___ftadd)
	movf	(main@x_max+1),w
	movwf	(?___ftadd+1)
	movf	(main@x_max+2),w
	movwf	(?___ftadd+2)
	movf	(main@x_min),w
	movwf	(?___ftneg)
	movf	(main@x_min+1),w
	movwf	(?___ftneg+1)
	movf	(main@x_min+2),w
	movwf	(?___ftneg+2)
	fcall	___ftneg
	movf	(0+(?___ftneg)),w
	movwf	0+(?___ftadd)+03h
	movf	(1+(?___ftneg)),w
	movwf	1+(?___ftadd)+03h
	movf	(2+(?___ftneg)),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	0+(?___ftdiv)+03h
	movf	(1+(?___ftadd)),w
	movwf	1+(?___ftdiv)+03h
	movf	(2+(?___ftadd)),w
	movwf	2+(?___ftdiv)+03h
	fcall	___ftdiv
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftdiv)),w
	movwf	(_main$5766)
	movf	(1+(?___ftdiv)),w
	movwf	(_main$5766+1)
	movf	(2+(?___ftdiv)),w
	movwf	(_main$5766+2)
	
l7778:	
;main.c: 96: x = x_min + (x_max - x_min)/2.0;
	movf	(main@x_min),w
	movwf	(?___ftadd)
	movf	(main@x_min+1),w
	movwf	(?___ftadd+1)
	movf	(main@x_min+2),w
	movwf	(?___ftadd+2)
	movf	(_main$5766),w
	movwf	0+(?___ftadd)+03h
	movf	(_main$5766+1),w
	movwf	1+(?___ftadd)+03h
	movf	(_main$5766+2),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(main@x)
	movf	(1+(?___ftadd)),w
	movwf	(main@x+1)
	movf	(2+(?___ftadd)),w
	movwf	(main@x+2)
	line	97
	
l7780:	
;main.c: 97: y = y_min + (y_max - y_min)/2.0;
	movlw	0x0
	movwf	(?___ftdiv)
	movlw	0x0
	movwf	(?___ftdiv+1)
	movlw	0x40
	movwf	(?___ftdiv+2)
	movf	(main@y_max),w
	movwf	(?___ftadd)
	movf	(main@y_max+1),w
	movwf	(?___ftadd+1)
	movf	(main@y_max+2),w
	movwf	(?___ftadd+2)
	movf	(main@y_min),w
	movwf	(?___ftneg)
	movf	(main@y_min+1),w
	movwf	(?___ftneg+1)
	movf	(main@y_min+2),w
	movwf	(?___ftneg+2)
	fcall	___ftneg
	movf	(0+(?___ftneg)),w
	movwf	0+(?___ftadd)+03h
	movf	(1+(?___ftneg)),w
	movwf	1+(?___ftadd)+03h
	movf	(2+(?___ftneg)),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	0+(?___ftdiv)+03h
	movf	(1+(?___ftadd)),w
	movwf	1+(?___ftdiv)+03h
	movf	(2+(?___ftadd)),w
	movwf	2+(?___ftdiv)+03h
	fcall	___ftdiv
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftdiv)),w
	movwf	(_main$5766)
	movf	(1+(?___ftdiv)),w
	movwf	(_main$5766+1)
	movf	(2+(?___ftdiv)),w
	movwf	(_main$5766+2)
	
l7782:	
;main.c: 97: y = y_min + (y_max - y_min)/2.0;
	movf	(main@y_min),w
	movwf	(?___ftadd)
	movf	(main@y_min+1),w
	movwf	(?___ftadd+1)
	movf	(main@y_min+2),w
	movwf	(?___ftadd+2)
	movf	(_main$5766),w
	movwf	0+(?___ftadd)+03h
	movf	(_main$5766+1),w
	movwf	1+(?___ftadd)+03h
	movf	(_main$5766+2),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(main@y)
	movf	(1+(?___ftadd)),w
	movwf	(main@y+1)
	movf	(2+(?___ftadd)),w
	movwf	(main@y+2)
	line	98
	
l7784:	
;main.c: 98: start (2);
	movlw	low(02h)
	movwf	(?_start)
	movlw	high(02h)
	movwf	((?_start))+1
	fcall	_start
	line	99
	
l7786:	
;main.c: 99: dinamo (faktor);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@faktor),w
	movwf	(?_dinamo)
	movf	(main@faktor+1),w
	movwf	(?_dinamo+1)
	movf	(main@faktor+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	100
	
l7788:	
;main.c: 100: rs232_send_text(" = faktor\r");
	movlw	((STR_9-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	101
;main.c: 101: dinamo (x);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@x),w
	movwf	(?_dinamo)
	movf	(main@x+1),w
	movwf	(?_dinamo+1)
	movf	(main@x+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	102
	
l7790:	
;main.c: 102: rs232_send_text(" = x ofset\r");
	movlw	((STR_10-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	103
	
l7792:	
;main.c: 103: dinamo (y);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(main@y),w
	movwf	(?_dinamo)
	movf	(main@y+1),w
	movwf	(?_dinamo+1)
	movf	(main@y+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	104
;main.c: 104: rs232_send_text(" = y ofset\r");
	movlw	((STR_11-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	105
;main.c: 105: rs232_send_text("************************************\r");
	movlw	((STR_12-__stringbase))&0ffh
	fcall	_rs232_send_text
	line	106
	
l7794:	
;main.c: 106: _delay((unsigned long)((1000)*(4000000/4000.0)));
	opt asmopt_off
movlw  6
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+2),f
movlw	19
movwf	((??_main+0)+0+1),f
	movlw	177
movwf	((??_main+0)+0),f
u4397:
	decfsz	((??_main+0)+0),f
	goto	u4397
	decfsz	((??_main+0)+0+1),f
	goto	u4397
	decfsz	((??_main+0)+0+2),f
	goto	u4397
	nop2
opt asmopt_on

	goto	l7796
	line	107
	
l1885:	
	line	113
	
l7796:	
;main.c: 107: }
;main.c: 113: PORTC = 0x01;
	movlw	(01h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(7)	;volatile
	line	114
	
l7798:	
;main.c: 114: low = read_i2c ((0x3C), 0x04);
	movlw	(04h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	115
	
l7800:	
;main.c: 115: high = read_i2c ((0x3C), 0x03);
	movlw	(03h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	117
	
l7802:	
;main.c: 117: x_max = rezultat(high, low);
	movf	(main@low),w
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_rezultat)
	movf	(main@high),w
	fcall	_rezultat
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_rezultat)),w
	movwf	(main@x_max)
	movf	(1+(?_rezultat)),w
	movwf	(main@x_max+1)
	movf	(2+(?_rezultat)),w
	movwf	(main@x_max+2)
	line	118
	
l7804:	
;main.c: 118: x_max -= x;
	movf	(main@x),w
	movwf	(?___ftsub)
	movf	(main@x+1),w
	movwf	(?___ftsub+1)
	movf	(main@x+2),w
	movwf	(?___ftsub+2)
	movf	(main@x_max),w
	movwf	0+(?___ftsub)+03h
	movf	(main@x_max+1),w
	movwf	1+(?___ftsub)+03h
	movf	(main@x_max+2),w
	movwf	2+(?___ftsub)+03h
	fcall	___ftsub
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftsub)),w
	movwf	(main@x_max)
	movf	(1+(?___ftsub)),w
	movwf	(main@x_max+1)
	movf	(2+(?___ftsub)),w
	movwf	(main@x_max+2)
	line	119
	
l7806:	
;main.c: 119: dinamo (x_max);
	movf	(main@x_max),w
	movwf	(?_dinamo)
	movf	(main@x_max+1),w
	movwf	(?_dinamo+1)
	movf	(main@x_max+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	122
	
l7808:	
;main.c: 122: rs232_send_byte(' ');
	movlw	(020h)
	fcall	_rs232_send_byte
	line	124
;main.c: 124: low = read_i2c ((0x3C), 0x08);
	movlw	(08h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	125
;main.c: 125: high = read_i2c ((0x3C), 0x07);
	movlw	(07h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	127
	
l7810:	
;main.c: 127: y_max = rezultat(high, low);
	movf	(main@low),w
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_rezultat)
	movf	(main@high),w
	fcall	_rezultat
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_rezultat)),w
	movwf	(main@y_max)
	movf	(1+(?_rezultat)),w
	movwf	(main@y_max+1)
	movf	(2+(?_rezultat)),w
	movwf	(main@y_max+2)
	line	128
	
l7812:	
;main.c: 128: y_max -= y;
	movf	(main@y),w
	movwf	(?___ftsub)
	movf	(main@y+1),w
	movwf	(?___ftsub+1)
	movf	(main@y+2),w
	movwf	(?___ftsub+2)
	movf	(main@y_max),w
	movwf	0+(?___ftsub)+03h
	movf	(main@y_max+1),w
	movwf	1+(?___ftsub)+03h
	movf	(main@y_max+2),w
	movwf	2+(?___ftsub)+03h
	fcall	___ftsub
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftsub)),w
	movwf	(main@y_max)
	movf	(1+(?___ftsub)),w
	movwf	(main@y_max+1)
	movf	(2+(?___ftsub)),w
	movwf	(main@y_max+2)
	line	129
	
l7814:	
;main.c: 129: y_max *= faktor;
	movf	(main@faktor),w
	movwf	(?___ftmul)
	movf	(main@faktor+1),w
	movwf	(?___ftmul+1)
	movf	(main@faktor+2),w
	movwf	(?___ftmul+2)
	movf	(main@y_max),w
	movwf	0+(?___ftmul)+03h
	movf	(main@y_max+1),w
	movwf	1+(?___ftmul)+03h
	movf	(main@y_max+2),w
	movwf	2+(?___ftmul)+03h
	fcall	___ftmul
	movf	(0+(?___ftmul)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(main@y_max)
	movf	(1+(?___ftmul)),w
	movwf	(main@y_max+1)
	movf	(2+(?___ftmul)),w
	movwf	(main@y_max+2)
	line	130
	
l7816:	
;main.c: 130: dinamo (y_max);
	movf	(main@y_max),w
	movwf	(?_dinamo)
	movf	(main@y_max+1),w
	movwf	(?_dinamo+1)
	movf	(main@y_max+2),w
	movwf	(?_dinamo+2)
	fcall	_dinamo
	line	133
	
l7818:	
;main.c: 133: low = read_i2c ((0x3C), 0x06);
	movlw	(06h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@low)
	line	134
	
l7820:	
;main.c: 134: high = read_i2c ((0x3C), 0x05);
	movlw	(05h)
	movwf	(??_main+0)+0
	movf	(??_main+0)+0,w
	movwf	(?_read_i2c)
	movlw	(03Ch)
	fcall	_read_i2c
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_read_i2c)),w
	movwf	(??_main+1)+0
	movf	(??_main+1)+0,w
	movwf	(main@high)
	line	136
	
l7822:	
;main.c: 136: rs232_send_byte('\r');
	movlw	(0Dh)
	fcall	_rs232_send_byte
	line	137
	
l7824:	
;main.c: 137: _delay((unsigned long)((100)*(4000000/4000.0)));
	opt asmopt_off
movlw	130
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
movwf	((??_main+0)+0+1),f
	movlw	221
movwf	((??_main+0)+0),f
u4407:
	decfsz	((??_main+0)+0),f
	goto	u4407
	decfsz	((??_main+0)+0+1),f
	goto	u4407
	nop2
opt asmopt_on

	line	138
	
l7826:	
;main.c: 138: PORTC = 0x00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(7)	;volatile
	goto	l7698
	line	141
	
l1892:	
	line	35
	goto	l7698
	
l1893:	
	line	142
	
l1894:	
	global	start
	ljmp	start
	opt stack 0
GLOBAL	__end_of_main
	__end_of_main:
;; =============== function _main ends ============

	signat	_main,88
	global	_read_i2c
psect	text683,local,class=CODE,delta=2
global __ptext683
__ptext683:

;; *************** function _read_i2c *****************
;; Defined at:
;;		line 45 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  ADRESA          1    wreg     unsigned char 
;;  adr_reg         1    0[BANK0 ] unsigned char 
;; Auto vars:     Size  Location     Type
;;  ADRESA          1    5[BANK0 ] unsigned char 
;;  data            1    4[BANK0 ] unsigned char 
;; Return value:  Size  Location     Type
;;                  2    0[BANK0 ] int 
;; Registers used:
;;		wreg, fsr0l, fsr0h, 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   BANK2
;;      Params:         0       2       0       0
;;      Locals:         0       2       0       0
;;      Temps:          0       2       0       0
;;      Totals:         0       6       0       0
;;Total ram usage:        6 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    4
;; This function calls:
;;		_i2c_open
;;		_rs232_send_text
;;		_i2c_put_byte
;;		_i2c_get_byte
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text683
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	45
	global	__size_of_read_i2c
	__size_of_read_i2c	equ	__end_of_read_i2c-_read_i2c
	
_read_i2c:	
	opt	stack 3
; Regs used in _read_i2c: [wreg-fsr0h+status,2+status,0+btemp+1+pclath+cstack]
;read_i2c@ADRESA stored from wreg
	line	48
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(read_i2c@ADRESA)
	
l7646:	
;svastara.c: 46: char data;
;svastara.c: 48: if(i2c_open(ADRESA, 0x00)) {rs232_send_text("error1\n"); return -1;}
	clrf	(?_i2c_open)
	movf	(read_i2c@ADRESA),w
	fcall	_i2c_open
	xorlw	0
	skipnz
	goto	u4181
	goto	u4180
u4181:
	goto	l7654
u4180:
	
l7648:	
	movlw	((STR_16-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7650:	
	movlw	low(-1)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_read_i2c)
	movlw	high(-1)
	movwf	((?_read_i2c))+1
	goto	l3717
	
l7652:	
	goto	l3717
	
l3716:	
	line	49
	
l7654:	
;svastara.c: 49: if(i2c_put_byte(adr_reg) !=0) {rs232_send_text("error2\n"); return -1;}
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(read_i2c@adr_reg),w
	fcall	_i2c_put_byte
	xorlw	0
	skipnz
	goto	u4191
	goto	u4190
u4191:
	goto	l7662
u4190:
	
l7656:	
	movlw	((STR_17-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7658:	
	movlw	low(-1)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_read_i2c)
	movlw	high(-1)
	movwf	((?_read_i2c))+1
	goto	l3717
	
l7660:	
	goto	l3717
	
l3718:	
	line	51
	
l7662:	
;svastara.c: 51: if(i2c_open(ADRESA, 0x01)) {rs232_send_text("error3\n"); return -1;}
	clrf	(?_i2c_open)
	bsf	status,0
	rlf	(?_i2c_open),f
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(read_i2c@ADRESA),w
	fcall	_i2c_open
	xorlw	0
	skipnz
	goto	u4201
	goto	u4200
u4201:
	goto	l7670
u4200:
	
l7664:	
	movlw	((STR_18-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7666:	
	movlw	low(-1)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_read_i2c)
	movlw	high(-1)
	movwf	((?_read_i2c))+1
	goto	l3717
	
l7668:	
	goto	l3717
	
l3719:	
	line	52
	
l7670:	
;svastara.c: 52: data = i2c_get_byte(0);
	movlw	(0)
	fcall	_i2c_get_byte
	movf	(0+(?_i2c_get_byte)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(??_read_i2c+0)+0
	movf	(??_read_i2c+0)+0,w
	movwf	(read_i2c@data)
	line	54
	
l7672:	
;svastara.c: 54: return data;
	movf	(read_i2c@data),w
	movwf	(??_read_i2c+0)+0
	clrf	(??_read_i2c+0)+0+1
	movf	0+(??_read_i2c+0)+0,w
	movwf	(?_read_i2c)
	movf	1+(??_read_i2c+0)+0,w
	movwf	(?_read_i2c+1)
	goto	l3717
	
l7674:	
	line	55
	
l3717:	
	return
	opt stack 0
GLOBAL	__end_of_read_i2c
	__end_of_read_i2c:
;; =============== function _read_i2c ends ============

	signat	_read_i2c,8314
	global	_i2c_init
psect	text684,local,class=CODE,delta=2
global __ptext684
__ptext684:

;; *************** function _i2c_init *****************
;; Defined at:
;;		line 35 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  ADRESA1         1    wreg     unsigned char 
;;  ADRESA2         1    9[COMMON] unsigned char 
;;  ADRESA3         1   10[COMMON] unsigned char 
;; Auto vars:     Size  Location     Type
;;  ADRESA1         1   11[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  2    9[COMMON] int 
;; 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   BANK2
;;      Params:         2       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         3       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    4
;; This function calls:
;;		_i2c_open
;;		_rs232_send_text
;;		_i2c_put_byte
;;		_i2c_stop
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text684
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	35
	global	__size_of_i2c_init
	__size_of_i2c_init	equ	__end_of_i2c_init-_i2c_init
	
_i2c_init:	
	opt	stack 3
; Regs used in _i2c_init: [wreg-fsr0h+status,2+status,0+pclath+cstack]
;i2c_init@ADRESA1 stored from wreg
	movwf	(i2c_init@ADRESA1)
	line	36
	
l7616:	
;svastara.c: 36: if (i2c_open(ADRESA1, 0x00)) { rs232_send_text("greska1\n"); return 0; }
	clrf	(?_i2c_open)
	movf	(i2c_init@ADRESA1),w
	fcall	_i2c_open
	xorlw	0
	skipnz
	goto	u4151
	goto	u4150
u4151:
	goto	l7624
u4150:
	
l7618:	
	movlw	((STR_13-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7620:	
	clrf	(?_i2c_init)
	clrf	(?_i2c_init+1)
	goto	l3711
	
l7622:	
	goto	l3711
	
l3710:	
	line	37
	
l7624:	
;svastara.c: 37: if (i2c_put_byte(ADRESA2) != 0) { rs232_send_text("greska2\n"); return 0; }
	movf	(i2c_init@ADRESA2),w
	fcall	_i2c_put_byte
	xorlw	0
	skipnz
	goto	u4161
	goto	u4160
u4161:
	goto	l7632
u4160:
	
l7626:	
	movlw	((STR_14-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7628:	
	clrf	(?_i2c_init)
	clrf	(?_i2c_init+1)
	goto	l3711
	
l7630:	
	goto	l3711
	
l3712:	
	line	38
	
l7632:	
;svastara.c: 38: if (i2c_put_byte(ADRESA3) ) {rs232_send_text("greska3\}"); return 0;}
	movf	(i2c_init@ADRESA3),w
	fcall	_i2c_put_byte
	xorlw	0
	skipnz
	goto	u4171
	goto	u4170
u4171:
	goto	l7640
u4170:
	
l7634:	
	movlw	((STR_15-__stringbase))&0ffh
	fcall	_rs232_send_text
	
l7636:	
	clrf	(?_i2c_init)
	clrf	(?_i2c_init+1)
	goto	l3711
	
l7638:	
	goto	l3711
	
l3713:	
	line	39
	
l7640:	
;svastara.c: 39: i2c_stop();
	fcall	_i2c_stop
	line	40
	
l7642:	
;svastara.c: 40: return 1;
	movlw	low(01h)
	movwf	(?_i2c_init)
	movlw	high(01h)
	movwf	((?_i2c_init))+1
	goto	l3711
	
l7644:	
	line	41
	
l3711:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_init
	__end_of_i2c_init:
;; =============== function _i2c_init ends ============

	signat	_i2c_init,12410
	global	_i2c_open
psect	text685,local,class=CODE,delta=2
global __ptext685
__ptext685:

;; *************** function _i2c_open *****************
;; Defined at:
;;		line 241 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  address         1    wreg     unsigned char 
;;  mode            1    6[COMMON] unsigned char 
;; Auto vars:     Size  Location     Type
;;  address         1    8[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; 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   BANK2
;;      Params:         1       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         3       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    3
;; This function calls:
;;		_i2c_restart
;;		_i2c_send_address
;;		_i2c_read_ack
;; This function is called by:
;;		_i2c_init
;;		_read_i2c
;;		_i2c_read
;; This function uses a non-reentrant model
;;
psect	text685
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	241
	global	__size_of_i2c_open
	__size_of_i2c_open	equ	__end_of_i2c_open-_i2c_open
	
_i2c_open:	
	opt	stack 3
; Regs used in _i2c_open: [wreg+status,2+status,0+pclath+cstack]
;i2c_open@address stored from wreg
	movwf	(i2c_open@address)
	line	242
	
l7602:	
;i2c.c: 242: i2c_restart();
	fcall	_i2c_restart
	line	243
	
l7604:	
;i2c.c: 243: i2c_send_address(address, mode);
	movf	(i2c_open@mode),w
	movwf	(??_i2c_open+0)+0
	movf	(??_i2c_open+0)+0,w
	movwf	(?_i2c_send_address)
	movf	(i2c_open@address),w
	fcall	_i2c_send_address
	line	244
	
l7606:	
;i2c.c: 244: if(i2c_read_ack())
	fcall	_i2c_read_ack
	xorlw	0
	skipnz
	goto	u4141
	goto	u4140
u4141:
	goto	l7612
u4140:
	line	245
	
l7608:	
;i2c.c: 245: return !0;
	movlw	(01h)
	goto	l954
	
l7610:	
	goto	l954
	
l953:	
	line	247
	
l7612:	
;i2c.c: 247: return 0;
	movlw	(0)
	goto	l954
	
l7614:	
	line	248
	
l954:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_open
	__end_of_i2c_open:
;; =============== function _i2c_open ends ============

	signat	_i2c_open,8313
	global	_i2c_get_byte
psect	text686,local,class=CODE,delta=2
global __ptext686
__ptext686:

;; *************** function _i2c_get_byte *****************
;; Defined at:
;;		line 164 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  more            1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  more            1   12[COMMON] unsigned char 
;;  byte            2   10[COMMON] int 
;; Return value:  Size  Location     Type
;;                  2    6[COMMON] 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   BANK2
;;      Params:         2       0       0       0
;;      Locals:         3       0       0       0
;;      Temps:          2       0       0       0
;;      Totals:         7       0       0       0
;;Total ram usage:        7 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_i2c_read_byte
;;		_i2c_send_ack
;; This function is called by:
;;		_read_i2c
;;		_i2c_get_string
;;		_i2c_read
;; This function uses a non-reentrant model
;;
psect	text686
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	164
	global	__size_of_i2c_get_byte
	__size_of_i2c_get_byte	equ	__end_of_i2c_get_byte-_i2c_get_byte
	
_i2c_get_byte:	
	opt	stack 4
; Regs used in _i2c_get_byte: [wreg+status,2+status,0+btemp+1+pclath+cstack]
;i2c_get_byte@more stored from wreg
	line	167
	movwf	(i2c_get_byte@more)
	
l7590:	
;i2c.c: 165: int byte;
;i2c.c: 167: if((byte = i2c_read_byte()) == (-1))
	fcall	_i2c_read_byte
	movwf	(??_i2c_get_byte+0)+0
	clrf	(??_i2c_get_byte+0)+0+1
	movf	0+(??_i2c_get_byte+0)+0,w
	movwf	(i2c_get_byte@byte)
	movf	1+(??_i2c_get_byte+0)+0,w
	movwf	(i2c_get_byte@byte+1)
	movlw	high(-1)
	xorwf	((i2c_get_byte@byte+1)),w
	skipz
	goto	u4135
	movlw	low(-1)
	xorwf	((i2c_get_byte@byte)),w
u4135:

	skipz
	goto	u4131
	goto	u4130
u4131:
	goto	l7596
u4130:
	line	168
	
l7592:	
;i2c.c: 168: return (-1);
	movlw	low(-1)
	movwf	(?_i2c_get_byte)
	movlw	high(-1)
	movwf	((?_i2c_get_byte))+1
	goto	l928
	
l7594:	
	goto	l928
	
l927:	
	line	169
	
l7596:	
;i2c.c: 169: i2c_send_ack(more);
	movf	(i2c_get_byte@more),w
	fcall	_i2c_send_ack
	line	171
	
l7598:	
;i2c.c: 171: return byte;
	movf	(i2c_get_byte@byte+1),w
	clrf	(?_i2c_get_byte+1)
	addwf	(?_i2c_get_byte+1)
	movf	(i2c_get_byte@byte),w
	clrf	(?_i2c_get_byte)
	addwf	(?_i2c_get_byte)

	goto	l928
	
l7600:	
	line	172
	
l928:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_get_byte
	__end_of_i2c_get_byte:
;; =============== function _i2c_get_byte ends ============

	signat	_i2c_get_byte,4218
	global	_i2c_put_byte
psect	text687,local,class=CODE,delta=2
global __ptext687
__ptext687:

;; *************** function _i2c_put_byte *****************
;; Defined at:
;;		line 153 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  data            1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  data            1    4[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      char 
;; 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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         1       0       0       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_i2c_send_byte
;;		_i2c_read_ack
;; This function is called by:
;;		_i2c_init
;;		_read_i2c
;;		_i2c_put_string
;; This function uses a non-reentrant model
;;
psect	text687
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	153
	global	__size_of_i2c_put_byte
	__size_of_i2c_put_byte	equ	__end_of_i2c_put_byte-_i2c_put_byte
	
_i2c_put_byte:	
	opt	stack 4
; Regs used in _i2c_put_byte: [wreg+status,2+status,0+pclath+cstack]
;i2c_put_byte@data stored from wreg
	movwf	(i2c_put_byte@data)
	line	154
	
l7580:	
;i2c.c: 154: if(i2c_send_byte(data))
	movf	(i2c_put_byte@data),w
	fcall	_i2c_send_byte
	xorlw	0
	skipnz
	goto	u4121
	goto	u4120
u4121:
	goto	l7586
u4120:
	line	155
	
l7582:	
;i2c.c: 155: return (-1);
	movlw	(-1)
	goto	l924
	
l7584:	
	goto	l924
	
l923:	
	line	156
	
l7586:	
;i2c.c: 156: return i2c_read_ack();
	fcall	_i2c_read_ack
	goto	l924
	
l7588:	
	line	157
	
l924:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_put_byte
	__end_of_i2c_put_byte:
;; =============== function _i2c_put_byte ends ============

	signat	_i2c_put_byte,4217
	global	_i2c_send_address
psect	text688,local,class=CODE,delta=2
global __ptext688
__ptext688:

;; *************** function _i2c_send_address *****************
;; Defined at:
;;		line 75 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  address         1    wreg     unsigned char 
;;  rw              1    4[COMMON] unsigned char 
;; Auto vars:     Size  Location     Type
;;  address         1    5[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; 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   BANK2
;;      Params:         1       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         2       0       0       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_i2c_send_byte
;; This function is called by:
;;		_i2c_open
;; This function uses a non-reentrant model
;;
psect	text688
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	75
	global	__size_of_i2c_send_address
	__size_of_i2c_send_address	equ	__end_of_i2c_send_address-_i2c_send_address
	
_i2c_send_address:	
	opt	stack 3
; Regs used in _i2c_send_address: [wreg+status,2+status,0+pclath+cstack]
;i2c_send_address@address stored from wreg
	movwf	(i2c_send_address@address)
	line	76
	
l7576:	
;i2c.c: 76: return i2c_send_byte(address | (rw?1:0));
;	Return value of _i2c_send_address is never used
	movlw	0
	movf	(i2c_send_address@rw),f
	skipz
	movlw	1
	iorwf	(i2c_send_address@address),w
	fcall	_i2c_send_byte
	goto	l905
	
l7578:	
	line	77
	
l905:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_send_address
	__end_of_i2c_send_address:
;; =============== function _i2c_send_address ends ============

	signat	_i2c_send_address,8313
	global	___ftsub
psect	text689,local,class=CODE,delta=2
global __ptext689
__ptext689:

;; *************** function ___ftsub *****************
;; Defined at:
;;		line 17 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftsub.c"
;; Parameters:    Size  Location     Type
;;  f2              3    7[BANK0 ] float 
;;  f1              3   10[BANK0 ] float 
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  3    7[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   BANK2
;;      Params:         0       6       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         0       6       0       0
;;Total ram usage:        6 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		___ftadd
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text689
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftsub.c"
	line	17
	global	__size_of___ftsub
	__size_of___ftsub	equ	__end_of___ftsub-___ftsub
	
___ftsub:	
	opt	stack 5
; Regs used in ___ftsub: [wreg+status,2+status,0+pclath+cstack]
	line	18
	
l7570:	
	movlw	080h
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	xorwf	(___ftsub@f2+2),f
	line	19
	
l7572:	
	movf	(___ftsub@f1),w
	movwf	(?___ftadd)
	movf	(___ftsub@f1+1),w
	movwf	(?___ftadd+1)
	movf	(___ftsub@f1+2),w
	movwf	(?___ftadd+2)
	movf	(___ftsub@f2),w
	movwf	0+(?___ftadd)+03h
	movf	(___ftsub@f2+1),w
	movwf	1+(?___ftadd)+03h
	movf	(___ftsub@f2+2),w
	movwf	2+(?___ftadd)+03h
	fcall	___ftadd
	movf	(0+(?___ftadd)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?___ftsub)
	movf	(1+(?___ftadd)),w
	movwf	(?___ftsub+1)
	movf	(2+(?___ftadd)),w
	movwf	(?___ftsub+2)
	goto	l4683
	
l7574:	
	line	20
	
l4683:	
	return
	opt stack 0
GLOBAL	__end_of___ftsub
	__end_of___ftsub:
;; =============== function ___ftsub ends ============

	signat	___ftsub,8315
	global	_dinamo
psect	text690,local,class=CODE,delta=2
global __ptext690
__ptext690:

;; *************** function _dinamo *****************
;; Defined at:
;;		line 87 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  rez             3   10[BANK0 ] float 
;; Auto vars:     Size  Location     Type
;;  temp            2   23[BANK0 ] int 
;;  j               2   21[BANK0 ] int 
;;  d               2   19[BANK0 ] int 
;;  s               2   17[BANK0 ] int 
;;  t               2   15[BANK0 ] int 
;;  dt              2   13[BANK0 ] int 
;; 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   BANK2
;;      Params:         0       3       0       0
;;      Locals:         0      12       0       0
;;      Temps:          0       0       0       0
;;      Totals:         0      15       0       0
;;Total ram usage:       15 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		___ftge
;;		_rs232_send_byte
;;		_abs
;;		___ftmul
;;		___fttol
;;		___awdiv
;;		___awmod
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text690
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	87
	global	__size_of_dinamo
	__size_of_dinamo	equ	__end_of_dinamo-_dinamo
	
_dinamo:	
	opt	stack 5
; Regs used in _dinamo: [wreg+status,2+status,0+pclath+cstack]
	line	88
	
l7534:	
;svastara.c: 88: int dt=0,t=0,s=0,d=0,j=0, temp=0;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(dinamo@dt)
	clrf	(dinamo@dt+1)
	clrf	(dinamo@t)
	clrf	(dinamo@t+1)
	clrf	(dinamo@s)
	clrf	(dinamo@s+1)
	clrf	(dinamo@d)
	clrf	(dinamo@d+1)
	clrf	(dinamo@j)
	clrf	(dinamo@j+1)
	clrf	(dinamo@temp)
	clrf	(dinamo@temp+1)
	line	89
	
l7536:	
;svastara.c: 89: if(rez<0)
	movf	(dinamo@rez),w
	movwf	(?___ftge)
	movf	(dinamo@rez+1),w
	movwf	(?___ftge+1)
	movf	(dinamo@rez+2),w
	movwf	(?___ftge+2)
	movlw	0x0
	movwf	0+(?___ftge)+03h
	movlw	0x0
	movwf	1+(?___ftge)+03h
	movlw	0x0
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u4061
	goto	u4060
u4061:
	goto	l3730
u4060:
	line	91
	
l7538:	
;svastara.c: 90: {
;svastara.c: 91: rs232_send_byte('-');
	movlw	(02Dh)
	fcall	_rs232_send_byte
	line	92
;svastara.c: 92: rez = abs(rez);
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@rez),w
	movwf	(?_abs)
	movf	(dinamo@rez+1),w
	movwf	(?_abs+1)
	movf	(dinamo@rez+2),w
	movwf	(?_abs+2)
	fcall	_abs
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?_abs)),w
	movwf	(dinamo@rez)
	movf	(1+(?_abs)),w
	movwf	(dinamo@rez+1)
	movf	(2+(?_abs)),w
	movwf	(dinamo@rez+2)
	line	93
	
l3730:	
	line	94
;svastara.c: 93: }
;svastara.c: 94: rez *= 10000.0;
	movlw	0x40
	movwf	(?___ftmul)
	movlw	0x1c
	movwf	(?___ftmul+1)
	movlw	0x46
	movwf	(?___ftmul+2)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@rez),w
	movwf	0+(?___ftmul)+03h
	movf	(dinamo@rez+1),w
	movwf	1+(?___ftmul)+03h
	movf	(dinamo@rez+2),w
	movwf	2+(?___ftmul)+03h
	fcall	___ftmul
	movf	(0+(?___ftmul)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(dinamo@rez)
	movf	(1+(?___ftmul)),w
	movwf	(dinamo@rez+1)
	movf	(2+(?___ftmul)),w
	movwf	(dinamo@rez+2)
	line	95
;svastara.c: 95: temp = (int) rez;
	movf	(dinamo@rez),w
	movwf	(?___fttol)
	movf	(dinamo@rez+1),w
	movwf	(?___fttol+1)
	movf	(dinamo@rez+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	(dinamo@temp+1)
	addwf	(dinamo@temp+1)
	movf	0+(((0+(?___fttol)))),w
	clrf	(dinamo@temp)
	addwf	(dinamo@temp)

	line	97
;svastara.c: 97: dt = temp/10000;
	movlw	low(02710h)
	movwf	(?___awdiv)
	movlw	high(02710h)
	movwf	((?___awdiv))+1
	movf	(dinamo@temp+1),w
	clrf	1+(?___awdiv)+02h
	addwf	1+(?___awdiv)+02h
	movf	(dinamo@temp),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	(dinamo@dt+1)
	addwf	(dinamo@dt+1)
	movf	(0+(?___awdiv)),w
	clrf	(dinamo@dt)
	addwf	(dinamo@dt)

	line	98
;svastara.c: 98: t = (temp%10000)/1000;
	movlw	low(03E8h)
	movwf	(?___awdiv)
	movlw	high(03E8h)
	movwf	((?___awdiv))+1
	movf	(dinamo@temp+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(dinamo@temp),w
	clrf	0+(?___awmod)+02h
	addwf	0+(?___awmod)+02h

	movlw	low(02710h)
	movwf	(?___awmod)
	movlw	high(02710h)
	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	(dinamo@t+1)
	addwf	(dinamo@t+1)
	movf	(0+(?___awdiv)),w
	clrf	(dinamo@t)
	addwf	(dinamo@t)

	line	99
;svastara.c: 99: s = (temp%1000)/100;
	movlw	low(064h)
	movwf	(?___awdiv)
	movlw	high(064h)
	movwf	((?___awdiv))+1
	movf	(dinamo@temp+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(dinamo@temp),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	(dinamo@s+1)
	addwf	(dinamo@s+1)
	movf	(0+(?___awdiv)),w
	clrf	(dinamo@s)
	addwf	(dinamo@s)

	line	100
;svastara.c: 100: d = (temp%100)/10;
	movlw	low(0Ah)
	movwf	(?___awdiv)
	movlw	high(0Ah)
	movwf	((?___awdiv))+1
	movf	(dinamo@temp+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(dinamo@temp),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	(dinamo@d+1)
	addwf	(dinamo@d+1)
	movf	(0+(?___awdiv)),w
	clrf	(dinamo@d)
	addwf	(dinamo@d)

	line	101
;svastara.c: 101: j = temp%10;
	movlw	low(0Ah)
	movwf	(?___awmod)
	movlw	high(0Ah)
	movwf	((?___awmod))+1
	movf	(dinamo@temp+1),w
	clrf	1+(?___awmod)+02h
	addwf	1+(?___awmod)+02h
	movf	(dinamo@temp),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	(dinamo@j+1)
	addwf	(dinamo@j+1)
	movf	(0+(?___awmod)),w
	clrf	(dinamo@j)
	addwf	(dinamo@j)

	line	103
	
l7540:	
;svastara.c: 103: if (dt)
	movf	(dinamo@dt+1),w
	iorwf	(dinamo@dt),w
	skipnz
	goto	u4071
	goto	u4070
u4071:
	goto	l7544
u4070:
	line	104
	
l7542:	
;svastara.c: 104: rs232_send_byte(48+dt);
	movf	(dinamo@dt),w
	addlw	030h
	fcall	_rs232_send_byte
	goto	l3732
	line	105
	
l3731:	
	line	106
	
l7544:	
;svastara.c: 105: else
;svastara.c: 106: rs232_send_byte(48);
	movlw	(030h)
	fcall	_rs232_send_byte
	
l3732:	
	line	107
;svastara.c: 107: rs232_send_byte('.');
	movlw	(02Eh)
	fcall	_rs232_send_byte
	line	108
	
l7546:	
;svastara.c: 108: if (t)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@t+1),w
	iorwf	(dinamo@t),w
	skipnz
	goto	u4081
	goto	u4080
u4081:
	goto	l7550
u4080:
	line	109
	
l7548:	
;svastara.c: 109: rs232_send_byte(48+t);
	movf	(dinamo@t),w
	addlw	030h
	fcall	_rs232_send_byte
	goto	l7552
	line	110
	
l3733:	
	line	111
	
l7550:	
;svastara.c: 110: else
;svastara.c: 111: rs232_send_byte(48);
	movlw	(030h)
	fcall	_rs232_send_byte
	goto	l7552
	
l3734:	
	line	112
	
l7552:	
;svastara.c: 112: if (s)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@s+1),w
	iorwf	(dinamo@s),w
	skipnz
	goto	u4091
	goto	u4090
u4091:
	goto	l7556
u4090:
	line	113
	
l7554:	
;svastara.c: 113: rs232_send_byte(48+s);
	movf	(dinamo@s),w
	addlw	030h
	fcall	_rs232_send_byte
	goto	l7558
	line	114
	
l3735:	
	line	115
	
l7556:	
;svastara.c: 114: else
;svastara.c: 115: rs232_send_byte(48);
	movlw	(030h)
	fcall	_rs232_send_byte
	goto	l7558
	
l3736:	
	line	116
	
l7558:	
;svastara.c: 116: if (d)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@d+1),w
	iorwf	(dinamo@d),w
	skipnz
	goto	u4101
	goto	u4100
u4101:
	goto	l7562
u4100:
	line	117
	
l7560:	
;svastara.c: 117: rs232_send_byte(48+d);
	movf	(dinamo@d),w
	addlw	030h
	fcall	_rs232_send_byte
	goto	l7564
	line	118
	
l3737:	
	line	119
	
l7562:	
;svastara.c: 118: else
;svastara.c: 119: rs232_send_byte(48);
	movlw	(030h)
	fcall	_rs232_send_byte
	goto	l7564
	
l3738:	
	line	120
	
l7564:	
;svastara.c: 120: if (j)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(dinamo@j+1),w
	iorwf	(dinamo@j),w
	skipnz
	goto	u4111
	goto	u4110
u4111:
	goto	l7568
u4110:
	line	121
	
l7566:	
;svastara.c: 121: rs232_send_byte(48+j);
	movf	(dinamo@j),w
	addlw	030h
	fcall	_rs232_send_byte
	goto	l3741
	line	122
	
l3739:	
	line	123
	
l7568:	
;svastara.c: 122: else
;svastara.c: 123: rs232_send_byte(48);
	movlw	(030h)
	fcall	_rs232_send_byte
	goto	l3741
	
l3740:	
	line	124
	
l3741:	
	return
	opt stack 0
GLOBAL	__end_of_dinamo
	__end_of_dinamo:
;; =============== function _dinamo ends ============

	signat	_dinamo,4216
	global	_rezultat
psect	text691,local,class=CODE,delta=2
global __ptext691
__ptext691:

;; *************** function _rezultat *****************
;; Defined at:
;;		line 59 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  high            1    wreg     unsigned char 
;;  low             1   23[BANK0 ] unsigned char 
;; Auto vars:     Size  Location     Type
;;  high            1   36[BANK0 ] unsigned char 
;;  rez             3   37[BANK0 ] float 
;;  minus           3   32[BANK0 ] float 
;;  low_int         2   30[BANK0 ] int 
;;  high_int        2   28[BANK0 ] int 
;;  mask            1   35[BANK0 ] unsigned char 
;; Return value:  Size  Location     Type
;;                  3   23[BANK0 ] float 
;; 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   BANK2
;;      Params:         0       3       0       0
;;      Locals:         0      12       0       0
;;      Temps:          0       2       0       0
;;      Totals:         0      17       0       0
;;Total ram usage:       17 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		___awtoft
;;		___ftmul
;;		___ftdiv
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text691
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	59
	global	__size_of_rezultat
	__size_of_rezultat	equ	__end_of_rezultat-_rezultat
	
_rezultat:	
	opt	stack 5
; Regs used in _rezultat: [wreg+status,2+status,0+btemp+1+pclath+cstack]
;rezultat@high stored from wreg
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(rezultat@high)
	line	60
	
l7512:	
;svastara.c: 60: char mask = 0x80;
	movlw	(080h)
	movwf	(??_rezultat+0)+0
	movf	(??_rezultat+0)+0,w
	movwf	(rezultat@mask)
	line	62
;svastara.c: 61: int high_int, low_int;
;svastara.c: 62: float minus = 1, rez = 0;
	movlw	0x0
	movwf	(rezultat@minus)
	movlw	0x80
	movwf	(rezultat@minus+1)
	movlw	0x3f
	movwf	(rezultat@minus+2)
	movlw	0x0
	movwf	(rezultat@rez)
	movlw	0x0
	movwf	(rezultat@rez+1)
	movlw	0x0
	movwf	(rezultat@rez+2)
	line	63
	
l7514:	
;svastara.c: 63: if(high&mask)
	movf	(rezultat@high),w
	andwf	(rezultat@mask),w
	btfsc	status,2
	goto	u4051
	goto	u4050
u4051:
	goto	l7520
u4050:
	line	65
	
l7516:	
;svastara.c: 64: {
;svastara.c: 65: high^=0xFF;
	movlw	(0FFh)
	movwf	(??_rezultat+0)+0
	movf	(??_rezultat+0)+0,w
	xorwf	(rezultat@high),f
	line	66
;svastara.c: 66: low^=0xFF;
	movlw	(0FFh)
	movwf	(??_rezultat+0)+0
	movf	(??_rezultat+0)+0,w
	xorwf	(rezultat@low),f
	line	67
;svastara.c: 67: low+=0x01;
	movlw	(01h)
	movwf	(??_rezultat+0)+0
	movf	(??_rezultat+0)+0,w
	addwf	(rezultat@low),f
	line	68
	
l7518:	
;svastara.c: 68: minus = -1;
	movlw	0x0
	movwf	(rezultat@minus)
	movlw	0x80
	movwf	(rezultat@minus+1)
	movlw	0xbf
	movwf	(rezultat@minus+2)
	goto	l7520
	line	69
	
l3722:	
	line	71
	
l7520:	
;svastara.c: 69: }
;svastara.c: 71: high_int = high<<8;
	movf	(rezultat@high),w
	movwf	(??_rezultat+0)+0
	clrf	(??_rezultat+0)+0+1
	movf	(??_rezultat+0)+0,w
	movwf	(??_rezultat+0)+1
	clrf	(??_rezultat+0)+0
	movf	0+(??_rezultat+0)+0,w
	movwf	(rezultat@high_int)
	movf	1+(??_rezultat+0)+0,w
	movwf	(rezultat@high_int+1)
	line	72
	
l7522:	
;svastara.c: 72: low_int = low;
	movf	(rezultat@low),w
	movwf	(??_rezultat+0)+0
	clrf	(??_rezultat+0)+0+1
	movf	0+(??_rezultat+0)+0,w
	movwf	(rezultat@low_int)
	movf	1+(??_rezultat+0)+0,w
	movwf	(rezultat@low_int+1)
	line	73
	
l7524:	
;svastara.c: 73: rez = high_int + low_int;
	movf	(rezultat@low_int),w
	addwf	(rezultat@high_int),w
	movwf	(?___awtoft)
	movf	(rezultat@low_int+1),w
	skipnc
	incf	(rezultat@low_int+1),w
	addwf	(rezultat@high_int+1),w
	movwf	1+(?___awtoft)
	fcall	___awtoft
	movf	(0+(?___awtoft)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(rezultat@rez)
	movf	(1+(?___awtoft)),w
	movwf	(rezultat@rez+1)
	movf	(2+(?___awtoft)),w
	movwf	(rezultat@rez+2)
	line	74
	
l7526:	
;svastara.c: 74: rez *= minus;
	movf	(rezultat@minus),w
	movwf	(?___ftmul)
	movf	(rezultat@minus+1),w
	movwf	(?___ftmul+1)
	movf	(rezultat@minus+2),w
	movwf	(?___ftmul+2)
	movf	(rezultat@rez),w
	movwf	0+(?___ftmul)+03h
	movf	(rezultat@rez+1),w
	movwf	1+(?___ftmul)+03h
	movf	(rezultat@rez+2),w
	movwf	2+(?___ftmul)+03h
	fcall	___ftmul
	movf	(0+(?___ftmul)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(rezultat@rez)
	movf	(1+(?___ftmul)),w
	movwf	(rezultat@rez+1)
	movf	(2+(?___ftmul)),w
	movwf	(rezultat@rez+2)
	line	75
	
l7528:	
;svastara.c: 75: rez /= 1575.38;
	movlw	0xec
	movwf	(?___ftdiv)
	movlw	0xc4
	movwf	(?___ftdiv+1)
	movlw	0x44
	movwf	(?___ftdiv+2)
	movf	(rezultat@rez),w
	movwf	0+(?___ftdiv)+03h
	movf	(rezultat@rez+1),w
	movwf	1+(?___ftdiv)+03h
	movf	(rezultat@rez+2),w
	movwf	2+(?___ftdiv)+03h
	fcall	___ftdiv
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(0+(?___ftdiv)),w
	movwf	(rezultat@rez)
	movf	(1+(?___ftdiv)),w
	movwf	(rezultat@rez+1)
	movf	(2+(?___ftdiv)),w
	movwf	(rezultat@rez+2)
	line	76
	
l7530:	
;svastara.c: 76: return rez;
	movf	(rezultat@rez),w
	movwf	(?_rezultat)
	movf	(rezultat@rez+1),w
	movwf	(?_rezultat+1)
	movf	(rezultat@rez+2),w
	movwf	(?_rezultat+2)
	goto	l3723
	
l7532:	
	line	77
	
l3723:	
	return
	opt stack 0
GLOBAL	__end_of_rezultat
	__end_of_rezultat:
;; =============== function _rezultat ends ============

	signat	_rezultat,8315
	global	_i2c_read_byte
psect	text692,local,class=CODE,delta=2
global __ptext692
__ptext692:

;; *************** function _i2c_read_byte *****************
;; Defined at:
;;		line 106 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  i               2    3[COMMON] int 
;;  byte            1    5[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; 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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         3       0       0       0
;;      Temps:          2       0       0       0
;;      Totals:         5       0       0       0
;;Total ram usage:        5 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_i2c_wait_for_SCL
;; This function is called by:
;;		_i2c_get_byte
;; This function uses a non-reentrant model
;;
psect	text692
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	106
	global	__size_of_i2c_read_byte
	__size_of_i2c_read_byte	equ	__end_of_i2c_read_byte-_i2c_read_byte
	
_i2c_read_byte:	
	opt	stack 4
; Regs used in _i2c_read_byte: [wreg+status,2+status,0+btemp+1+pclath+cstack]
	line	108
	
l7488:	
;i2c.c: 107: int i;
;i2c.c: 108: unsigned char byte = 0;
	clrf	(i2c_read_byte@byte)
	line	110
	
l7490:	
;i2c.c: 110: for(i=0; i<8; i++)
	clrf	(i2c_read_byte@i)
	clrf	(i2c_read_byte@i+1)
	
l7492:	
	movf	(i2c_read_byte@i+1),w
	xorlw	80h
	movwf	btemp+1
	movlw	(high(08h))^80h
	subwf	btemp+1,w
	skipz
	goto	u4025
	movlw	low(08h)
	subwf	(i2c_read_byte@i),w
u4025:

	skipc
	goto	u4021
	goto	u4020
u4021:
	goto	l912
u4020:
	goto	l7508
	
l7494:	
	goto	l7508
	line	111
	
l912:	
	line	112
;i2c.c: 111: {
;i2c.c: 112: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	113
;i2c.c: 113: _delay((unsigned long)((5)*(4000000/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
	clrwdt
	opt asmopt_on

	line	114
;i2c.c: 114: TRISB4 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1076/8)^080h,(1076)&7
	line	116
;i2c.c: 116: TRISB6 = 1;
	bsf	(1078/8)^080h,(1078)&7
	line	117
	
l7496:	
;i2c.c: 117: if(i2c_wait_for_SCL())
	fcall	_i2c_wait_for_SCL
	xorlw	0
	skipnz
	goto	u4031
	goto	u4030
u4031:
	goto	l914
u4030:
	line	118
	
l7498:	
;i2c.c: 118: return (-1);
	movlw	(0FFh)
	goto	l915
	
l7500:	
	goto	l915
	
l914:	
	line	120
;i2c.c: 120: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	121
	
l7502:	
;i2c.c: 121: byte = byte << 1;
	movf	(i2c_read_byte@byte),w
	movwf	(??_i2c_read_byte+0)+0
	addwf	(??_i2c_read_byte+0)+0,w
	movwf	(??_i2c_read_byte+1)+0
	movf	(??_i2c_read_byte+1)+0,w
	movwf	(i2c_read_byte@byte)
	line	122
;i2c.c: 122: byte |= RB4;
	movlw	0
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(52/8),(52)&7
	movlw	1
	movwf	(??_i2c_read_byte+0)+0
	movf	(??_i2c_read_byte+0)+0,w
	iorwf	(i2c_read_byte@byte),f
	line	110
	
l7504:	
	movlw	low(01h)
	addwf	(i2c_read_byte@i),f
	skipnc
	incf	(i2c_read_byte@i+1),f
	movlw	high(01h)
	addwf	(i2c_read_byte@i+1),f
	
l7506:	
	movf	(i2c_read_byte@i+1),w
	xorlw	80h
	movwf	btemp+1
	movlw	(high(08h))^80h
	subwf	btemp+1,w
	skipz
	goto	u4045
	movlw	low(08h)
	subwf	(i2c_read_byte@i),w
u4045:

	skipc
	goto	u4041
	goto	u4040
u4041:
	goto	l912
u4040:
	goto	l7508
	
l913:	
	line	124
	
l7508:	
;i2c.c: 123: }
;i2c.c: 124: return byte;
	movf	(i2c_read_byte@byte),w
	goto	l915
	
l7510:	
	line	125
	
l915:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_read_byte
	__end_of_i2c_read_byte:
;; =============== function _i2c_read_byte ends ============

	signat	_i2c_read_byte,89
	global	_i2c_read_ack
psect	text693,local,class=CODE,delta=2
global __ptext693
__ptext693:

;; *************** function _i2c_read_ack *****************
;; Defined at:
;;		line 85 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;  ack             1    2[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;                  1    wreg      char 
;; Registers used:
;;		wreg, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         2       0       0       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_i2c_wait_for_SCL
;; This function is called by:
;;		_i2c_put_byte
;;		_i2c_open
;; This function uses a non-reentrant model
;;
psect	text693
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	85
	global	__size_of_i2c_read_ack
	__size_of_i2c_read_ack	equ	__end_of_i2c_read_ack-_i2c_read_ack
	
_i2c_read_ack:	
	opt	stack 4
; Regs used in _i2c_read_ack: [wreg+pclath+cstack]
	line	88
	
l7474:	
;i2c.c: 86: unsigned char ack;
;i2c.c: 88: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	89
;i2c.c: 89: TRISB4 = 1;
	bsf	(1076/8)^080h,(1076)&7
	line	90
;i2c.c: 90: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	91
;i2c.c: 91: TRISB6 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1078/8)^080h,(1078)&7
	line	92
;i2c.c: 92: _delay((unsigned long)((1)*(4000000/4000000.0)));
		opt asmopt_off
	clrwdt
	opt asmopt_on

	line	93
	
l7476:	
;i2c.c: 93: ack = RB4;
	movlw	0
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(52/8),(52)&7
	movlw	1
	movwf	(??_i2c_read_ack+0)+0
	movf	(??_i2c_read_ack+0)+0,w
	movwf	(i2c_read_ack@ack)
	line	96
	
l7478:	
;i2c.c: 96: if(i2c_wait_for_SCL())
	fcall	_i2c_wait_for_SCL
	xorlw	0
	skipnz
	goto	u4011
	goto	u4010
u4011:
	goto	l7484
u4010:
	line	97
	
l7480:	
;i2c.c: 97: return (-1);
	movlw	(-1)
	goto	l909
	
l7482:	
	goto	l909
	
l908:	
	line	98
	
l7484:	
;i2c.c: 98: return ack;
	movf	(i2c_read_ack@ack),w
	goto	l909
	
l7486:	
	line	99
	
l909:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_read_ack
	__end_of_i2c_read_ack:
;; =============== function _i2c_read_ack ends ============

	signat	_i2c_read_ack,89
	global	_i2c_send_byte
psect	text694,local,class=CODE,delta=2
global __ptext694
__ptext694:

;; *************** function _i2c_send_byte *****************
;; Defined at:
;;		line 42 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  byte            1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  byte            1    2[COMMON] unsigned char 
;;  i               1    3[COMMON] char 
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; 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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         2       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         3       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_i2c_wait_for_SCL
;; This function is called by:
;;		_i2c_send_address
;;		_i2c_put_byte
;; This function uses a non-reentrant model
;;
psect	text694
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	42
	global	__size_of_i2c_send_byte
	__size_of_i2c_send_byte	equ	__end_of_i2c_send_byte-_i2c_send_byte
	
_i2c_send_byte:	
	opt	stack 4
; Regs used in _i2c_send_byte: [wreg+status,2+status,0+pclath+cstack]
;i2c_send_byte@byte stored from wreg
	line	45
	movwf	(i2c_send_byte@byte)
	
l7450:	
;i2c.c: 43: signed char i;
;i2c.c: 45: for(i=7; i>=0; i--)
	movlw	(07h)
	movwf	(??_i2c_send_byte+0)+0
	movf	(??_i2c_send_byte+0)+0,w
	movwf	(i2c_send_byte@i)
	
l7452:	
	btfss	(i2c_send_byte@i),7
	goto	u3931
	goto	u3930
u3931:
	goto	l897
u3930:
	goto	l7470
	
l7454:	
	goto	l7470
	line	46
	
l897:	
	line	47
;i2c.c: 46: {
;i2c.c: 47: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	50
	
l7456:	
;i2c.c: 50: TRISB4 = ((byte>>i)&0x01);
	movf	(i2c_send_byte@byte),w
	movwf	(??_i2c_send_byte+0)+0
	incf	(i2c_send_byte@i),w
	goto	u3944
u3945:
	clrc
	rrf	(??_i2c_send_byte+0)+0,f
u3944:
	addlw	-1
	skipz
	goto	u3945
	btfsc	0+(??_i2c_send_byte+0)+0,0
	goto	u3951
	goto	u3950
	
u3951:
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1076/8)^080h,(1076)&7
	goto	u3964
u3950:
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1076/8)^080h,(1076)&7
u3964:
	line	51
;i2c.c: 51: if ((byte>>i)&0x01) {
	movf	(i2c_send_byte@byte),w
	movwf	(??_i2c_send_byte+0)+0
	incf	(i2c_send_byte@i),w
	goto	u3974
u3975:
	clrc
	rrf	(??_i2c_send_byte+0)+0,f
u3974:
	addlw	-1
	skipz
	goto	u3975
	btfss	0+(??_i2c_send_byte+0)+0,(0)&7
	goto	u3981
	goto	u3980
u3981:
	goto	l899
u3980:
	line	52
	
l7458:	
;i2c.c: 52: TRISB4 = 1;
	bsf	(1076/8)^080h,(1076)&7
	line	53
;i2c.c: 53: }else {
	goto	l900
	
l899:	
	line	54
;i2c.c: 54: TRISB4 = 0;
	bcf	(1076/8)^080h,(1076)&7
	line	55
	
l900:	
	line	56
;i2c.c: 55: }
;i2c.c: 56: _delay((unsigned long)((1)*(4000000/4000000.0)));
		opt asmopt_off
	clrwdt
	opt asmopt_on

	line	57
;i2c.c: 57: TRISB6 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1078/8)^080h,(1078)&7
	line	59
	
l7460:	
;i2c.c: 59: if(i2c_wait_for_SCL())
	fcall	_i2c_wait_for_SCL
	xorlw	0
	skipnz
	goto	u3991
	goto	u3990
u3991:
	goto	l901
u3990:
	line	60
	
l7462:	
;i2c.c: 60: return !0;
	movlw	(01h)
	goto	l902
	
l7464:	
	goto	l902
	
l901:	
	line	62
;i2c.c: 62: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	45
	
l7466:	
	movlw	(-1)
	movwf	(??_i2c_send_byte+0)+0
	movf	(??_i2c_send_byte+0)+0,w
	addwf	(i2c_send_byte@i),f
	
l7468:	
	btfss	(i2c_send_byte@i),7
	goto	u4001
	goto	u4000
u4001:
	goto	l897
u4000:
	goto	l7470
	
l898:	
	line	65
	
l7470:	
;i2c.c: 63: }
;i2c.c: 65: return 0;
	movlw	(0)
	goto	l902
	
l7472:	
	line	66
	
l902:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_send_byte
	__end_of_i2c_send_byte:
;; =============== function _i2c_send_byte ends ============

	signat	_i2c_send_byte,4217
	global	___awtoft
psect	text695,local,class=CODE,delta=2
global __ptext695
__ptext695:

;; *************** function ___awtoft *****************
;; Defined at:
;;		line 33 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awtoft.c"
;; Parameters:    Size  Location     Type
;;  c               2    8[COMMON] int 
;; Auto vars:     Size  Location     Type
;;  sign            1   13[COMMON] unsigned char 
;; 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   BANK2
;;      Params:         3       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          2       0       0       0
;;      Totals:         6       0       0       0
;;Total ram usage:        6 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		___ftpack
;; This function is called by:
;;		_rezultat
;; This function uses a non-reentrant model
;;
psect	text695
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\awtoft.c"
	line	33
	global	__size_of___awtoft
	__size_of___awtoft	equ	__end_of___awtoft-___awtoft
	
___awtoft:	
	opt	stack 5
; Regs used in ___awtoft: [wreg+status,2+status,0+pclath+cstack]
	line	36
	
l7442:	
	clrf	(___awtoft@sign)
	line	37
	btfss	(___awtoft@c+1),7
	goto	u3921
	goto	u3920
u3921:
	goto	l7446
u3920:
	line	38
	
l7444:	
	comf	(___awtoft@c),f
	comf	(___awtoft@c+1),f
	incf	(___awtoft@c),f
	skipnz
	incf	(___awtoft@c+1),f
	line	39
	clrf	(___awtoft@sign)
	bsf	status,0
	rlf	(___awtoft@sign),f
	goto	l7446
	line	40
	
l4736:	
	line	41
	
l7446:	
	movf	(___awtoft@c),w
	movwf	(?___ftpack)
	movf	(___awtoft@c+1),w
	movwf	(?___ftpack+1)
	clrf	(?___ftpack+2)
	movlw	(08Eh)
	movwf	(??___awtoft+0)+0
	movf	(??___awtoft+0)+0,w
	movwf	0+(?___ftpack)+03h
	movf	(___awtoft@sign),w
	movwf	(??___awtoft+1)+0
	movf	(??___awtoft+1)+0,w
	movwf	0+(?___ftpack)+04h
	fcall	___ftpack
	movf	(0+(?___ftpack)),w
	movwf	(?___awtoft)
	movf	(1+(?___ftpack)),w
	movwf	(?___awtoft+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___awtoft+2)
	goto	l4737
	
l7448:	
	line	42
	
l4737:	
	return
	opt stack 0
GLOBAL	__end_of___awtoft
	__end_of___awtoft:
;; =============== function ___awtoft ends ============

	signat	___awtoft,4219
	global	___ftmul
psect	text696,local,class=CODE,delta=2
global __ptext696
__ptext696:

;; *************** 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    8[COMMON] float 
;;  f2              3   11[COMMON] float 
;; Auto vars:     Size  Location     Type
;;  f3_as_produc    3    5[BANK0 ] unsigned um
;;  sign            1    9[BANK0 ] unsigned char 
;;  cntr            1    8[BANK0 ] unsigned char 
;;  exp             1    4[BANK0 ] unsigned char 
;; 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   BANK2
;;      Params:         6       0       0       0
;;      Locals:         0       6       0       0
;;      Temps:          0       4       0       0
;;      Totals:         6      10       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
;;		_rezultat
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text696
	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
	
l7392:	
	movf	(___ftmul@f1),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	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	u3781
	goto	u3780
u3781:
	goto	l7398
u3780:
	line	57
	
l7394:	
	movlw	0x0
	movwf	(?___ftmul)
	movlw	0x0
	movwf	(?___ftmul+1)
	movlw	0x0
	movwf	(?___ftmul+2)
	goto	l4699
	
l7396:	
	goto	l4699
	
l4698:	
	line	58
	
l7398:	
	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	u3791
	goto	u3790
u3791:
	goto	l7404
u3790:
	line	59
	
l7400:	
	movlw	0x0
	movwf	(?___ftmul)
	movlw	0x0
	movwf	(?___ftmul+1)
	movlw	0x0
	movwf	(?___ftmul+2)
	goto	l4699
	
l7402:	
	goto	l4699
	
l4700:	
	line	60
	
l7404:	
	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
u3805:
	clrc
	rrf	(??___ftmul+0)+2,f
	rrf	(??___ftmul+0)+1,f
	rrf	(??___ftmul+0)+0,f
u3800:
	addlw	-1
	skipz
	goto	u3805
	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
u3815:
	clrc
	rrf	(??___ftmul+0)+2,f
	rrf	(??___ftmul+0)+1,f
	rrf	(??___ftmul+0)+0,f
u3810:
	addlw	-1
	skipz
	goto	u3815
	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
	
l7406:	
	bsf	(___ftmul@f1)+(15/8),(15)&7
	line	66
	
l7408:	
	bsf	(___ftmul@f2)+(15/8),(15)&7
	line	67
	
l7410:	
	movlw	0FFh
	andwf	(___ftmul@f2),f
	movlw	0FFh
	andwf	(___ftmul@f2+1),f
	movlw	0
	andwf	(___ftmul@f2+2),f
	line	68
	
l7412:	
	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
	
l7414:	
	movlw	(07h)
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	movwf	(___ftmul@cntr)
	goto	l7416
	line	70
	
l4701:	
	line	71
	
l7416:	
	btfss	(___ftmul@f1),(0)&7
	goto	u3821
	goto	u3820
u3821:
	goto	l7420
u3820:
	line	72
	
l7418:	
	movf	(___ftmul@f2),w
	addwf	(___ftmul@f3_as_product),f
	movf	(___ftmul@f2+1),w
	clrz
	skipnc
	incf	(___ftmul@f2+1),w
	skipnz
	goto	u3831
	addwf	(___ftmul@f3_as_product+1),f
u3831:
	movf	(___ftmul@f2+2),w
	clrz
	skipnc
	incf	(___ftmul@f2+2),w
	skipnz
	goto	u3832
	addwf	(___ftmul@f3_as_product+2),f
u3832:

	goto	l7420
	
l4702:	
	line	73
	
l7420:	
	movlw	01h
u3845:
	clrc
	rrf	(___ftmul@f1+2),f
	rrf	(___ftmul@f1+1),f
	rrf	(___ftmul@f1),f
	addlw	-1
	skipz
	goto	u3845

	line	74
	
l7422:	
	movlw	01h
u3855:
	clrc
	rlf	(___ftmul@f2),f
	rlf	(___ftmul@f2+1),f
	rlf	(___ftmul@f2+2),f
	addlw	-1
	skipz
	goto	u3855
	line	75
	
l7424:	
	movlw	low(01h)
	subwf	(___ftmul@cntr),f
	btfss	status,2
	goto	u3861
	goto	u3860
u3861:
	goto	l7416
u3860:
	goto	l7426
	
l4703:	
	line	76
	
l7426:	
	movlw	(09h)
	movwf	(??___ftmul+0)+0
	movf	(??___ftmul+0)+0,w
	movwf	(___ftmul@cntr)
	goto	l7428
	line	77
	
l4704:	
	line	78
	
l7428:	
	btfss	(___ftmul@f1),(0)&7
	goto	u3871
	goto	u3870
u3871:
	goto	l7432
u3870:
	line	79
	
l7430:	
	movf	(___ftmul@f2),w
	addwf	(___ftmul@f3_as_product),f
	movf	(___ftmul@f2+1),w
	clrz
	skipnc
	incf	(___ftmul@f2+1),w
	skipnz
	goto	u3881
	addwf	(___ftmul@f3_as_product+1),f
u3881:
	movf	(___ftmul@f2+2),w
	clrz
	skipnc
	incf	(___ftmul@f2+2),w
	skipnz
	goto	u3882
	addwf	(___ftmul@f3_as_product+2),f
u3882:

	goto	l7432
	
l4705:	
	line	80
	
l7432:	
	movlw	01h
u3895:
	clrc
	rrf	(___ftmul@f1+2),f
	rrf	(___ftmul@f1+1),f
	rrf	(___ftmul@f1),f
	addlw	-1
	skipz
	goto	u3895

	line	81
	
l7434:	
	movlw	01h
u3905:
	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	u3905

	line	82
	
l7436:	
	movlw	low(01h)
	subwf	(___ftmul@cntr),f
	btfss	status,2
	goto	u3911
	goto	u3910
u3911:
	goto	l7428
u3910:
	goto	l7438
	
l4706:	
	line	83
	
l7438:	
	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
	movwf	(?___ftmul)
	movf	(1+(?___ftpack)),w
	movwf	(?___ftmul+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___ftmul+2)
	goto	l4699
	
l7440:	
	line	84
	
l4699:	
	return
	opt stack 0
GLOBAL	__end_of___ftmul
	__end_of___ftmul:
;; =============== function ___ftmul ends ============

	signat	___ftmul,8315
	global	___ftdiv
psect	text697,local,class=CODE,delta=2
global __ptext697
__ptext697:

;; *************** function ___ftdiv *****************
;; Defined at:
;;		line 50 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftdiv.c"
;; Parameters:    Size  Location     Type
;;  f2              3    7[BANK0 ] float 
;;  f1              3   10[BANK0 ] float 
;; Auto vars:     Size  Location     Type
;;  f3              3   18[BANK0 ] float 
;;  sign            1   22[BANK0 ] unsigned char 
;;  exp             1   21[BANK0 ] unsigned char 
;;  cntr            1   17[BANK0 ] unsigned char 
;; Return value:  Size  Location     Type
;;                  3    7[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   BANK2
;;      Params:         0       6       0       0
;;      Locals:         0       6       0       0
;;      Temps:          0       4       0       0
;;      Totals:         0      16       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
;;		_rezultat
;; This function uses a non-reentrant model
;;
psect	text697
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftdiv.c"
	line	50
	global	__size_of___ftdiv
	__size_of___ftdiv	equ	__end_of___ftdiv-___ftdiv
	
___ftdiv:	
	opt	stack 6
; Regs used in ___ftdiv: [wreg+status,2+status,0+pclath+cstack]
	line	55
	
l7350:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(___ftdiv@f1),w
	movwf	((??___ftdiv+0)+0)
	movf	(___ftdiv@f1+1),w
	movwf	((??___ftdiv+0)+0+1)
	movf	(___ftdiv@f1+2),w
	movwf	((??___ftdiv+0)+0+2)
	clrc
	rlf	(??___ftdiv+0)+1,w
	rlf	(??___ftdiv+0)+2,w
	movwf	(??___ftdiv+3)+0
	movf	(??___ftdiv+3)+0,w
	movwf	(___ftdiv@exp)
	movf	((___ftdiv@exp)),f
	skipz
	goto	u3701
	goto	u3700
u3701:
	goto	l7356
u3700:
	line	56
	
l7352:	
	movlw	0x0
	movwf	(?___ftdiv)
	movlw	0x0
	movwf	(?___ftdiv+1)
	movlw	0x0
	movwf	(?___ftdiv+2)
	goto	l4689
	
l7354:	
	goto	l4689
	
l4688:	
	line	57
	
l7356:	
	movf	(___ftdiv@f2),w
	movwf	((??___ftdiv+0)+0)
	movf	(___ftdiv@f2+1),w
	movwf	((??___ftdiv+0)+0+1)
	movf	(___ftdiv@f2+2),w
	movwf	((??___ftdiv+0)+0+2)
	clrc
	rlf	(??___ftdiv+0)+1,w
	rlf	(??___ftdiv+0)+2,w
	movwf	(??___ftdiv+3)+0
	movf	(??___ftdiv+3)+0,w
	movwf	(___ftdiv@sign)
	movf	((___ftdiv@sign)),f
	skipz
	goto	u3711
	goto	u3710
u3711:
	goto	l7362
u3710:
	line	58
	
l7358:	
	movlw	0x0
	movwf	(?___ftdiv)
	movlw	0x0
	movwf	(?___ftdiv+1)
	movlw	0x0
	movwf	(?___ftdiv+2)
	goto	l4689
	
l7360:	
	goto	l4689
	
l4690:	
	line	59
	
l7362:	
	movlw	0
	movwf	(___ftdiv@f3)
	movlw	0
	movwf	(___ftdiv@f3+1)
	movlw	0
	movwf	(___ftdiv@f3+2)
	line	60
	
l7364:	
	movlw	(089h)
	addwf	(___ftdiv@sign),w
	movwf	(??___ftdiv+0)+0
	movf	0+(??___ftdiv+0)+0,w
	subwf	(___ftdiv@exp),f
	line	61
	
l7366:	
	movf	(___ftdiv@f1),w
	movwf	((??___ftdiv+0)+0)
	movf	(___ftdiv@f1+1),w
	movwf	((??___ftdiv+0)+0+1)
	movf	(___ftdiv@f1+2),w
	movwf	((??___ftdiv+0)+0+2)
	movlw	010h
u3725:
	clrc
	rrf	(??___ftdiv+0)+2,f
	rrf	(??___ftdiv+0)+1,f
	rrf	(??___ftdiv+0)+0,f
u3720:
	addlw	-1
	skipz
	goto	u3725
	movf	0+(??___ftdiv+0)+0,w
	movwf	(??___ftdiv+3)+0
	movf	(??___ftdiv+3)+0,w
	movwf	(___ftdiv@sign)
	line	62
	
l7368:	
	movf	(___ftdiv@f2),w
	movwf	((??___ftdiv+0)+0)
	movf	(___ftdiv@f2+1),w
	movwf	((??___ftdiv+0)+0+1)
	movf	(___ftdiv@f2+2),w
	movwf	((??___ftdiv+0)+0+2)
	movlw	010h
u3735:
	clrc
	rrf	(??___ftdiv+0)+2,f
	rrf	(??___ftdiv+0)+1,f
	rrf	(??___ftdiv+0)+0,f
u3730:
	addlw	-1
	skipz
	goto	u3735
	movf	0+(??___ftdiv+0)+0,w
	movwf	(??___ftdiv+3)+0
	movf	(??___ftdiv+3)+0,w
	xorwf	(___ftdiv@sign),f
	line	63
	
l7370:	
	movlw	(080h)
	movwf	(??___ftdiv+0)+0
	movf	(??___ftdiv+0)+0,w
	andwf	(___ftdiv@sign),f
	line	64
	
l7372:	
	bsf	(___ftdiv@f1)+(15/8),(15)&7
	line	65
	movlw	0FFh
	andwf	(___ftdiv@f1),f
	movlw	0FFh
	andwf	(___ftdiv@f1+1),f
	movlw	0
	andwf	(___ftdiv@f1+2),f
	line	66
	
l7374:	
	bsf	(___ftdiv@f2)+(15/8),(15)&7
	line	67
	movlw	0FFh
	andwf	(___ftdiv@f2),f
	movlw	0FFh
	andwf	(___ftdiv@f2+1),f
	movlw	0
	andwf	(___ftdiv@f2+2),f
	line	68
	movlw	(018h)
	movwf	(??___ftdiv+0)+0
	movf	(??___ftdiv+0)+0,w
	movwf	(___ftdiv@cntr)
	goto	l7376
	line	69
	
l4691:	
	line	70
	
l7376:	
	movlw	01h
u3745:
	clrc
	rlf	(___ftdiv@f3),f
	rlf	(___ftdiv@f3+1),f
	rlf	(___ftdiv@f3+2),f
	addlw	-1
	skipz
	goto	u3745
	line	71
	
l7378:	
	movf	(___ftdiv@f2+2),w
	subwf	(___ftdiv@f1+2),w
	skipz
	goto	u3755
	movf	(___ftdiv@f2+1),w
	subwf	(___ftdiv@f1+1),w
	skipz
	goto	u3755
	movf	(___ftdiv@f2),w
	subwf	(___ftdiv@f1),w
u3755:
	skipc
	goto	u3751
	goto	u3750
u3751:
	goto	l7384
u3750:
	line	72
	
l7380:	
	movf	(___ftdiv@f2),w
	subwf	(___ftdiv@f1),f
	movf	(___ftdiv@f2+1),w
	skipc
	incfsz	(___ftdiv@f2+1),w
	subwf	(___ftdiv@f1+1),f
	movf	(___ftdiv@f2+2),w
	skipc
	incf	(___ftdiv@f2+2),w
	subwf	(___ftdiv@f1+2),f
	line	73
	
l7382:	
	bsf	(___ftdiv@f3)+(0/8),(0)&7
	goto	l7384
	line	74
	
l4692:	
	line	75
	
l7384:	
	movlw	01h
u3765:
	clrc
	rlf	(___ftdiv@f1),f
	rlf	(___ftdiv@f1+1),f
	rlf	(___ftdiv@f1+2),f
	addlw	-1
	skipz
	goto	u3765
	line	76
	
l7386:	
	movlw	low(01h)
	subwf	(___ftdiv@cntr),f
	btfss	status,2
	goto	u3771
	goto	u3770
u3771:
	goto	l7376
u3770:
	goto	l7388
	
l4693:	
	line	77
	
l7388:	
	movf	(___ftdiv@f3),w
	movwf	(?___ftpack)
	movf	(___ftdiv@f3+1),w
	movwf	(?___ftpack+1)
	movf	(___ftdiv@f3+2),w
	movwf	(?___ftpack+2)
	movf	(___ftdiv@exp),w
	movwf	(??___ftdiv+0)+0
	movf	(??___ftdiv+0)+0,w
	movwf	0+(?___ftpack)+03h
	movf	(___ftdiv@sign),w
	movwf	(??___ftdiv+1)+0
	movf	(??___ftdiv+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	(?___ftdiv)
	movf	(1+(?___ftpack)),w
	movwf	(?___ftdiv+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___ftdiv+2)
	goto	l4689
	
l7390:	
	line	78
	
l4689:	
	return
	opt stack 0
GLOBAL	__end_of___ftdiv
	__end_of___ftdiv:
;; =============== function ___ftdiv ends ============

	signat	___ftdiv,8315
	global	___ftadd
psect	text698,local,class=CODE,delta=2
global __ptext698
__ptext698:

;; *************** function ___ftadd *****************
;; Defined at:
;;		line 87 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftadd.c"
;; Parameters:    Size  Location     Type
;;  f1              3    8[COMMON] float 
;;  f2              3   11[COMMON] float 
;; Auto vars:     Size  Location     Type
;;  exp1            1    6[BANK0 ] unsigned char 
;;  exp2            1    5[BANK0 ] unsigned char 
;;  sign            1    4[BANK0 ] unsigned char 
;; 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   BANK2
;;      Params:         6       0       0       0
;;      Locals:         0       3       0       0
;;      Temps:          0       4       0       0
;;      Totals:         6       7       0       0
;;Total ram usage:       13 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		___ftpack
;; This function is called by:
;;		_main
;;		___ftsub
;; This function uses a non-reentrant model
;;
psect	text698
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftadd.c"
	line	87
	global	__size_of___ftadd
	__size_of___ftadd	equ	__end_of___ftadd-___ftadd
	
___ftadd:	
	opt	stack 5
; Regs used in ___ftadd: [wreg+status,2+status,0+pclath+cstack]
	line	90
	
l7280:	
	movf	(___ftadd@f1),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	((??___ftadd+0)+0)
	movf	(___ftadd@f1+1),w
	movwf	((??___ftadd+0)+0+1)
	movf	(___ftadd@f1+2),w
	movwf	((??___ftadd+0)+0+2)
	clrc
	rlf	(??___ftadd+0)+1,w
	rlf	(??___ftadd+0)+2,w
	movwf	(??___ftadd+3)+0
	movf	(??___ftadd+3)+0,w
	movwf	(___ftadd@exp1)
	line	91
	movf	(___ftadd@f2),w
	movwf	((??___ftadd+0)+0)
	movf	(___ftadd@f2+1),w
	movwf	((??___ftadd+0)+0+1)
	movf	(___ftadd@f2+2),w
	movwf	((??___ftadd+0)+0+2)
	clrc
	rlf	(??___ftadd+0)+1,w
	rlf	(??___ftadd+0)+2,w
	movwf	(??___ftadd+3)+0
	movf	(??___ftadd+3)+0,w
	movwf	(___ftadd@exp2)
	line	92
	
l7282:	
	movf	(___ftadd@exp1),w
	skipz
	goto	u3460
	goto	l7288
u3460:
	
l7284:	
	movf	(___ftadd@exp2),w
	subwf	(___ftadd@exp1),w
	skipnc
	goto	u3471
	goto	u3470
u3471:
	goto	l7292
u3470:
	
l7286:	
	decf	(___ftadd@exp1),w
	xorlw	0ffh
	addwf	(___ftadd@exp2),w
	movwf	(??___ftadd+0)+0
	movlw	(019h)
	subwf	0+(??___ftadd+0)+0,w
	skipc
	goto	u3481
	goto	u3480
u3481:
	goto	l7292
u3480:
	goto	l7288
	
l4646:	
	line	93
	
l7288:	
	movf	(___ftadd@f2),w
	movwf	(?___ftadd)
	movf	(___ftadd@f2+1),w
	movwf	(?___ftadd+1)
	movf	(___ftadd@f2+2),w
	movwf	(?___ftadd+2)
	goto	l4647
	
l7290:	
	goto	l4647
	
l4644:	
	line	94
	
l7292:	
	movf	(___ftadd@exp2),w
	skipz
	goto	u3490
	goto	l4650
u3490:
	
l7294:	
	movf	(___ftadd@exp1),w
	subwf	(___ftadd@exp2),w
	skipnc
	goto	u3501
	goto	u3500
u3501:
	goto	l7298
u3500:
	
l7296:	
	decf	(___ftadd@exp2),w
	xorlw	0ffh
	addwf	(___ftadd@exp1),w
	movwf	(??___ftadd+0)+0
	movlw	(019h)
	subwf	0+(??___ftadd+0)+0,w
	skipc
	goto	u3511
	goto	u3510
u3511:
	goto	l7298
u3510:
	
l4650:	
	line	95
	goto	l4647
	
l4648:	
	line	96
	
l7298:	
	movlw	(06h)
	movwf	(??___ftadd+0)+0
	movf	(??___ftadd+0)+0,w
	movwf	(___ftadd@sign)
	line	97
	
l7300:	
	btfss	(___ftadd@f1+2),(23)&7
	goto	u3521
	goto	u3520
u3521:
	goto	l4651
u3520:
	line	98
	
l7302:	
	bsf	(___ftadd@sign)+(7/8),(7)&7
	
l4651:	
	line	99
	btfss	(___ftadd@f2+2),(23)&7
	goto	u3531
	goto	u3530
u3531:
	goto	l4652
u3530:
	line	100
	
l7304:	
	bsf	(___ftadd@sign)+(6/8),(6)&7
	
l4652:	
	line	101
	bsf	(___ftadd@f1)+(15/8),(15)&7
	line	102
	
l7306:	
	movlw	0FFh
	andwf	(___ftadd@f1),f
	movlw	0FFh
	andwf	(___ftadd@f1+1),f
	movlw	0
	andwf	(___ftadd@f1+2),f
	line	103
	
l7308:	
	bsf	(___ftadd@f2)+(15/8),(15)&7
	line	104
	movlw	0FFh
	andwf	(___ftadd@f2),f
	movlw	0FFh
	andwf	(___ftadd@f2+1),f
	movlw	0
	andwf	(___ftadd@f2+2),f
	line	106
	movf	(___ftadd@exp2),w
	subwf	(___ftadd@exp1),w
	skipnc
	goto	u3541
	goto	u3540
u3541:
	goto	l7320
u3540:
	goto	l7310
	line	109
	
l4654:	
	line	110
	
l7310:	
	movlw	01h
u3555:
	clrc
	rlf	(___ftadd@f2),f
	rlf	(___ftadd@f2+1),f
	rlf	(___ftadd@f2+2),f
	addlw	-1
	skipz
	goto	u3555
	line	111
	movlw	low(01h)
	subwf	(___ftadd@exp2),f
	line	112
	
l7312:	
	movf	(___ftadd@exp2),w
	xorwf	(___ftadd@exp1),w
	skipnz
	goto	u3561
	goto	u3560
u3561:
	goto	l7318
u3560:
	
l7314:	
	movlw	low(01h)
	subwf	(___ftadd@sign),f
	movf	((___ftadd@sign)),w
	andlw	07h
	btfss	status,2
	goto	u3571
	goto	u3570
u3571:
	goto	l7310
u3570:
	goto	l7318
	
l4656:	
	goto	l7318
	
l4657:	
	line	113
	goto	l7318
	
l4659:	
	line	114
	
l7316:	
	movlw	01h
u3585:
	clrc
	rrf	(___ftadd@f1+2),f
	rrf	(___ftadd@f1+1),f
	rrf	(___ftadd@f1),f
	addlw	-1
	skipz
	goto	u3585

	line	115
	movlw	(01h)
	movwf	(??___ftadd+0)+0
	movf	(??___ftadd+0)+0,w
	addwf	(___ftadd@exp1),f
	goto	l7318
	line	116
	
l4658:	
	line	113
	
l7318:	
	movf	(___ftadd@exp1),w
	xorwf	(___ftadd@exp2),w
	skipz
	goto	u3591
	goto	u3590
u3591:
	goto	l7316
u3590:
	goto	l4661
	
l4660:	
	line	117
	goto	l4661
	
l4653:	
	
l7320:	
	movf	(___ftadd@exp1),w
	subwf	(___ftadd@exp2),w
	skipnc
	goto	u3601
	goto	u3600
u3601:
	goto	l4661
u3600:
	goto	l7322
	line	120
	
l4663:	
	line	121
	
l7322:	
	movlw	01h
u3615:
	clrc
	rlf	(___ftadd@f1),f
	rlf	(___ftadd@f1+1),f
	rlf	(___ftadd@f1+2),f
	addlw	-1
	skipz
	goto	u3615
	line	122
	movlw	low(01h)
	subwf	(___ftadd@exp1),f
	line	123
	
l7324:	
	movf	(___ftadd@exp2),w
	xorwf	(___ftadd@exp1),w
	skipnz
	goto	u3621
	goto	u3620
u3621:
	goto	l7330
u3620:
	
l7326:	
	movlw	low(01h)
	subwf	(___ftadd@sign),f
	movf	((___ftadd@sign)),w
	andlw	07h
	btfss	status,2
	goto	u3631
	goto	u3630
u3631:
	goto	l7322
u3630:
	goto	l7330
	
l4665:	
	goto	l7330
	
l4666:	
	line	124
	goto	l7330
	
l4668:	
	line	125
	
l7328:	
	movlw	01h
u3645:
	clrc
	rrf	(___ftadd@f2+2),f
	rrf	(___ftadd@f2+1),f
	rrf	(___ftadd@f2),f
	addlw	-1
	skipz
	goto	u3645

	line	126
	movlw	(01h)
	movwf	(??___ftadd+0)+0
	movf	(??___ftadd+0)+0,w
	addwf	(___ftadd@exp2),f
	goto	l7330
	line	127
	
l4667:	
	line	124
	
l7330:	
	movf	(___ftadd@exp1),w
	xorwf	(___ftadd@exp2),w
	skipz
	goto	u3651
	goto	u3650
u3651:
	goto	l7328
u3650:
	goto	l4661
	
l4669:	
	goto	l4661
	line	128
	
l4662:	
	line	129
	
l4661:	
	btfss	(___ftadd@sign),(7)&7
	goto	u3661
	goto	u3660
u3661:
	goto	l7334
u3660:
	line	131
	
l7332:	
	movlw	0FFh
	xorwf	(___ftadd@f1),f
	movlw	0FFh
	xorwf	(___ftadd@f1+1),f
	movlw	0FFh
	xorwf	(___ftadd@f1+2),f
	line	132
	movlw	01h
	addwf	(___ftadd@f1),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f1+1),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f1+2),f
	goto	l7334
	line	133
	
l4670:	
	line	134
	
l7334:	
	btfss	(___ftadd@sign),(6)&7
	goto	u3671
	goto	u3670
u3671:
	goto	l7338
u3670:
	line	136
	
l7336:	
	movlw	0FFh
	xorwf	(___ftadd@f2),f
	movlw	0FFh
	xorwf	(___ftadd@f2+1),f
	movlw	0FFh
	xorwf	(___ftadd@f2+2),f
	line	137
	movlw	01h
	addwf	(___ftadd@f2),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f2+1),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f2+2),f
	goto	l7338
	line	138
	
l4671:	
	line	139
	
l7338:	
	clrf	(___ftadd@sign)
	line	140
	movf	(___ftadd@f1),w
	addwf	(___ftadd@f2),f
	movf	(___ftadd@f1+1),w
	clrz
	skipnc
	incf	(___ftadd@f1+1),w
	skipnz
	goto	u3681
	addwf	(___ftadd@f2+1),f
u3681:
	movf	(___ftadd@f1+2),w
	clrz
	skipnc
	incf	(___ftadd@f1+2),w
	skipnz
	goto	u3682
	addwf	(___ftadd@f2+2),f
u3682:

	line	141
	
l7340:	
	btfss	(___ftadd@f2+2),(23)&7
	goto	u3691
	goto	u3690
u3691:
	goto	l7346
u3690:
	line	142
	
l7342:	
	movlw	0FFh
	xorwf	(___ftadd@f2),f
	movlw	0FFh
	xorwf	(___ftadd@f2+1),f
	movlw	0FFh
	xorwf	(___ftadd@f2+2),f
	line	143
	movlw	01h
	addwf	(___ftadd@f2),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f2+1),f
	movlw	0
	skipnc
movlw 1
	addwf	(___ftadd@f2+2),f
	line	144
	
l7344:	
	clrf	(___ftadd@sign)
	bsf	status,0
	rlf	(___ftadd@sign),f
	goto	l7346
	line	145
	
l4672:	
	line	146
	
l7346:	
	movf	(___ftadd@f2),w
	movwf	(?___ftpack)
	movf	(___ftadd@f2+1),w
	movwf	(?___ftpack+1)
	movf	(___ftadd@f2+2),w
	movwf	(?___ftpack+2)
	movf	(___ftadd@exp1),w
	movwf	(??___ftadd+0)+0
	movf	(??___ftadd+0)+0,w
	movwf	0+(?___ftpack)+03h
	movf	(___ftadd@sign),w
	movwf	(??___ftadd+1)+0
	movf	(??___ftadd+1)+0,w
	movwf	0+(?___ftpack)+04h
	fcall	___ftpack
	movf	(0+(?___ftpack)),w
	movwf	(?___ftadd)
	movf	(1+(?___ftpack)),w
	movwf	(?___ftadd+1)
	movf	(2+(?___ftpack)),w
	movwf	(?___ftadd+2)
	goto	l4647
	
l7348:	
	line	148
	
l4647:	
	return
	opt stack 0
GLOBAL	__end_of___ftadd
	__end_of___ftadd:
;; =============== function ___ftadd ends ============

	signat	___ftadd,8315
	global	_abs
psect	text699,local,class=CODE,delta=2
global __ptext699
__ptext699:

;; *************** function _abs *****************
;; Defined at:
;;		line 80 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  x               3    7[BANK0 ] float 
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  3    7[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   BANK2
;;      Params:         0       3       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         0       3       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		___ftge
;;		___ftneg
;; This function is called by:
;;		_main
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text699
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	80
	global	__size_of_abs
	__size_of_abs	equ	__end_of_abs-_abs
	
_abs:	
	opt	stack 6
; Regs used in _abs: [wreg+status,2+status,0+pclath+cstack]
	line	81
	
l7274:	
;svastara.c: 81: if (x<0)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(abs@x),w
	movwf	(?___ftge)
	movf	(abs@x+1),w
	movwf	(?___ftge+1)
	movf	(abs@x+2),w
	movwf	(?___ftge+2)
	movlw	0x0
	movwf	0+(?___ftge)+03h
	movlw	0x0
	movwf	1+(?___ftge)+03h
	movlw	0x0
	movwf	2+(?___ftge)+03h
	fcall	___ftge
	btfsc	status,0
	goto	u3451
	goto	u3450
u3451:
	goto	l3726
u3450:
	line	82
	
l7276:	
;svastara.c: 82: return -x;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movf	(abs@x),w
	movwf	(?___ftneg)
	movf	(abs@x+1),w
	movwf	(?___ftneg+1)
	movf	(abs@x+2),w
	movwf	(?___ftneg+2)
	fcall	___ftneg
	movf	(0+(?___ftneg)),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(?_abs)
	movf	(1+(?___ftneg)),w
	movwf	(?_abs+1)
	movf	(2+(?___ftneg)),w
	movwf	(?_abs+2)
	goto	l3727
	
l7278:	
	goto	l3727
	
l3726:	
	line	83
;svastara.c: 83: return x;
	line	84
	
l3727:	
	return
	opt stack 0
GLOBAL	__end_of_abs
	__end_of_abs:
;; =============== function _abs ends ============

	signat	_abs,4219
	global	_rs232_send_text
psect	text700,local,class=CODE,delta=2
global __ptext700
__ptext700:

;; *************** function _rs232_send_text *****************
;; Defined at:
;;		line 42 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
;; Parameters:    Size  Location     Type
;;  string          1    wreg     PTR const unsigned char 
;;		 -> STR_18(8), STR_17(8), STR_16(8), STR_15(9), 
;;		 -> STR_14(9), STR_13(9), STR_12(38), STR_11(12), 
;;		 -> STR_10(12), STR_9(11), STR_8(10), STR_7(10), 
;;		 -> STR_6(3), STR_5(2), STR_4(2), STR_3(2), 
;;		 -> STR_2(21), STR_1(53), 
;; Auto vars:     Size  Location     Type
;;  string          1    3[COMMON] PTR const unsigned char 
;;		 -> STR_18(8), STR_17(8), STR_16(8), STR_15(9), 
;;		 -> STR_14(9), STR_13(9), STR_12(38), STR_11(12), 
;;		 -> STR_10(12), STR_9(11), STR_8(10), STR_7(10), 
;;		 -> STR_6(3), STR_5(2), STR_4(2), STR_3(2), 
;;		 -> STR_2(21), STR_1(53), 
;;  i               2    4[COMMON] int 
;;  c               1    2[COMMON] unsigned char 
;; 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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         4       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         5       0       0       0
;;Total ram usage:        5 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_rs232_send_byte
;; This function is called by:
;;		_main
;;		_i2c_init
;;		_read_i2c
;; This function uses a non-reentrant model
;;
psect	text700
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
	line	42
	global	__size_of_rs232_send_text
	__size_of_rs232_send_text	equ	__end_of_rs232_send_text-_rs232_send_text
	
_rs232_send_text:	
	opt	stack 5
; Regs used in _rs232_send_text: [wreg-fsr0h+status,2+status,0+pclath+cstack]
;rs232_send_text@string stored from wreg
	movwf	(rs232_send_text@string)
	line	43
	
l7264:	
;rs232.c: 43: int i=0;
	clrf	(rs232_send_text@i)
	clrf	(rs232_send_text@i+1)
	line	46
;rs232.c: 44: char c;
;rs232.c: 46: while(string[i]!='\0')
	goto	l7272
	
l2798:	
	line	48
	
l7266:	
;rs232.c: 47: {
;rs232.c: 48: c = string[i];
	movf	(rs232_send_text@i),w
	addwf	(rs232_send_text@string),w
	movwf	fsr0
	fcall	stringdir
	movwf	(??_rs232_send_text+0)+0
	movf	(??_rs232_send_text+0)+0,w
	movwf	(rs232_send_text@c)
	line	49
	
l7268:	
;rs232.c: 49: rs232_send_byte(c);
	movf	(rs232_send_text@c),w
	fcall	_rs232_send_byte
	line	50
	
l7270:	
;rs232.c: 50: i++;
	movlw	low(01h)
	addwf	(rs232_send_text@i),f
	skipnc
	incf	(rs232_send_text@i+1),f
	movlw	high(01h)
	addwf	(rs232_send_text@i+1),f
	goto	l7272
	line	51
	
l2797:	
	line	46
	
l7272:	
	movf	(rs232_send_text@i),w
	addwf	(rs232_send_text@string),w
	movwf	fsr0
	fcall	stringdir
	iorlw	0
	skipz
	goto	u3441
	goto	u3440
u3441:
	goto	l7266
u3440:
	goto	l2800
	
l2799:	
	line	53
;rs232.c: 51: }
;rs232.c: 52: return;
	
l2800:	
	return
	opt stack 0
GLOBAL	__end_of_rs232_send_text
	__end_of_rs232_send_text:
;; =============== function _rs232_send_text ends ============

	signat	_rs232_send_text,4216
	global	_start
psect	text701,local,class=CODE,delta=2
global __ptext701
__ptext701:

;; *************** function _start *****************
;; Defined at:
;;		line 24 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
;; Parameters:    Size  Location     Type
;;  x               2    0[COMMON] int 
;; Auto vars:     Size  Location     Type
;;  i               2    4[COMMON] int 
;; 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   BANK2
;;      Params:         2       0       0       0
;;      Locals:         2       0       0       0
;;      Temps:          2       0       0       0
;;      Totals:         6       0       0       0
;;Total ram usage:        6 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text701
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	24
	global	__size_of_start
	__size_of_start	equ	__end_of_start-_start
	
_start:	
	opt	stack 7
; Regs used in _start: [wreg+status,2]
	line	25
	
l7252:	
;svastara.c: 25: for (int i=0; i<x; i++)
	clrf	(start@i)
	clrf	(start@i+1)
	goto	l7262
	line	26
	
l3705:	
	line	27
	
l7254:	
;svastara.c: 26: {
;svastara.c: 27: PORTC = 0x0F;
	movlw	(0Fh)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(7)	;volatile
	line	28
;svastara.c: 28: _delay((unsigned long)((100)*(4000000/4000.0)));
	opt asmopt_off
movlw	130
movwf	((??_start+0)+0+1),f
	movlw	221
movwf	((??_start+0)+0),f
u4417:
	decfsz	((??_start+0)+0),f
	goto	u4417
	decfsz	((??_start+0)+0+1),f
	goto	u4417
	nop2
opt asmopt_on

	line	29
	
l7256:	
;svastara.c: 29: PORTC = 0x00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(7)	;volatile
	line	30
	
l7258:	
;svastara.c: 30: _delay((unsigned long)((100)*(4000000/4000.0)));
	opt asmopt_off
movlw	130
movwf	((??_start+0)+0+1),f
	movlw	221
movwf	((??_start+0)+0),f
u4427:
	decfsz	((??_start+0)+0),f
	goto	u4427
	decfsz	((??_start+0)+0+1),f
	goto	u4427
	nop2
opt asmopt_on

	line	25
	
l7260:	
	movlw	low(01h)
	addwf	(start@i),f
	skipnc
	incf	(start@i+1),f
	movlw	high(01h)
	addwf	(start@i+1),f
	goto	l7262
	
l3704:	
	
l7262:	
	movf	(start@i+1),w
	xorlw	80h
	movwf	(??_start+0)+0
	movf	(start@x+1),w
	xorlw	80h
	subwf	(??_start+0)+0,w
	skipz
	goto	u3435
	movf	(start@x),w
	subwf	(start@i),w
u3435:

	skipc
	goto	u3431
	goto	u3430
u3431:
	goto	l7254
u3430:
	goto	l3707
	
l3706:	
	line	32
	
l3707:	
	return
	opt stack 0
GLOBAL	__end_of_start
	__end_of_start:
;; =============== function _start ends ============

	signat	_start,4216
	global	_i2c_send_ack
psect	text702,local,class=CODE,delta=2
global __ptext702
__ptext702:

;; *************** function _i2c_send_ack *****************
;; Defined at:
;;		line 132 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;  status          1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  status          1    0[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         1       0       0       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_i2c_get_byte
;; This function uses a non-reentrant model
;;
psect	text702
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	132
	global	__size_of_i2c_send_ack
	__size_of_i2c_send_ack	equ	__end_of_i2c_send_ack-_i2c_send_ack
	
_i2c_send_ack:	
	opt	stack 5
; Regs used in _i2c_send_ack: [wreg]
;i2c_send_ack@status stored from wreg
	movwf	(i2c_send_ack@status)
	line	133
	
l7248:	
;i2c.c: 133: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	134
;i2c.c: 134: if ( status & 0x01) {
	btfss	(i2c_send_ack@status),(0)&7
	goto	u3421
	goto	u3420
u3421:
	goto	l918
u3420:
	line	135
	
l7250:	
;i2c.c: 135: TRISB4 = 0;
	bcf	(1076/8)^080h,(1076)&7
	line	138
;i2c.c: 138: }else {
	goto	l919
	
l918:	
	line	139
;i2c.c: 139: TRISB4 = 1;
	bsf	(1076/8)^080h,(1076)&7
	line	141
	
l919:	
	line	142
;i2c.c: 141: }
;i2c.c: 142: _delay((unsigned long)((1)*(4000000/4000000.0)));
		opt asmopt_off
	clrwdt
	opt asmopt_on

	line	143
;i2c.c: 143: TRISB6 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1078/8)^080h,(1078)&7
	line	144
;i2c.c: 144: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	146
;i2c.c: 145: return;
	
l920:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_send_ack
	__end_of_i2c_send_ack:
;; =============== function _i2c_send_ack ends ============

	signat	_i2c_send_ack,4216
	global	_i2c_wait_for_SCL
psect	text703,local,class=CODE,delta=2
global __ptext703
__ptext703:

;; *************** function _i2c_wait_for_SCL *****************
;; Defined at:
;;		line 223 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         1       0       0       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_i2c_send_byte
;;		_i2c_read_ack
;;		_i2c_read_byte
;; This function uses a non-reentrant model
;;
psect	text703
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	223
	global	__size_of_i2c_wait_for_SCL
	__size_of_i2c_wait_for_SCL	equ	__end_of_i2c_wait_for_SCL-_i2c_wait_for_SCL
	
_i2c_wait_for_SCL:	
	opt	stack 4
; Regs used in _i2c_wait_for_SCL: [wreg]
	line	225
	
l7234:	
;i2c.c: 225: if(!RB6)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(54/8),(54)&7
	goto	u3401
	goto	u3400
u3401:
	goto	l7244
u3400:
	line	227
	
l7236:	
;i2c.c: 226: {
;i2c.c: 227: _delay((unsigned long)((10)*(4000000/4000000.0)));
	opt asmopt_off
movlw	3
movwf	(??_i2c_wait_for_SCL+0)+0,f
u4437:
decfsz	(??_i2c_wait_for_SCL+0)+0,f
	goto	u4437
opt asmopt_on

	line	229
	
l7238:	
;i2c.c: 229: if(!RB6)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(54/8),(54)&7
	goto	u3411
	goto	u3410
u3411:
	goto	l7244
u3410:
	line	230
	
l7240:	
;i2c.c: 230: return !0;
	movlw	(01h)
	goto	l950
	
l7242:	
	goto	l950
	
l949:	
	goto	l7244
	line	231
	
l948:	
	line	232
	
l7244:	
;i2c.c: 231: }
;i2c.c: 232: return 0;
	movlw	(0)
	goto	l950
	
l7246:	
	line	233
	
l950:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_wait_for_SCL
	__end_of_i2c_wait_for_SCL:
;; =============== function _i2c_wait_for_SCL ends ============

	signat	_i2c_wait_for_SCL,89
	global	_i2c_restart
psect	text704,local,class=CODE,delta=2
global __ptext704
__ptext704:

;; *************** function _i2c_restart *****************
;; Defined at:
;;		line 26 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		None
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_i2c_open
;; This function uses a non-reentrant model
;;
psect	text704
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	26
	global	__size_of_i2c_restart
	__size_of_i2c_restart	equ	__end_of_i2c_restart-_i2c_restart
	
_i2c_restart:	
	opt	stack 5
; Regs used in _i2c_restart: []
	line	27
	
l7232:	
;i2c.c: 27: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	28
;i2c.c: 28: TRISB4 = 1;
	bsf	(1076/8)^080h,(1076)&7
	line	30
;i2c.c: 30: _delay((unsigned long)((1)*(4000000/4000000.0)));
		opt asmopt_off
	clrwdt
	opt asmopt_on

	line	32
;i2c.c: 32: TRISB6 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1078/8)^080h,(1078)&7
	line	33
;i2c.c: 33: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	35
;i2c.c: 35: TRISB4 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1076/8)^080h,(1076)&7
	line	36
;i2c.c: 36: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	39
;i2c.c: 38: return;
	
l894:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_restart
	__end_of_i2c_restart:
;; =============== function _i2c_restart ends ============

	signat	_i2c_restart,88
	global	_i2c_stop
psect	text705,local,class=CODE,delta=2
global __ptext705
__ptext705:

;; *************** function _i2c_stop *****************
;; Defined at:
;;		line 7 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		None
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_i2c_init
;;		_i2c_read
;; This function uses a non-reentrant model
;;
psect	text705
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\i2c.c"
	line	7
	global	__size_of_i2c_stop
	__size_of_i2c_stop	equ	__end_of_i2c_stop-_i2c_stop
	
_i2c_stop:	
	opt	stack 6
; Regs used in _i2c_stop: []
	line	8
	
l7230:	
;i2c.c: 8: TRISB6 = 0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1078/8)^080h,(1078)&7
	line	9
;i2c.c: 9: TRISB4 = 0;
	bcf	(1076/8)^080h,(1076)&7
	line	11
;i2c.c: 11: _delay((unsigned long)((1)*(4000000/4000000.0)));
		opt asmopt_off
	clrwdt
	opt asmopt_on

	line	12
;i2c.c: 12: TRISB6 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1078/8)^080h,(1078)&7
	line	13
;i2c.c: 13: _delay((unsigned long)((4)*(4000000/4000000.0)));
		opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on
	opt asmopt_off
	nop2	;2 cycle nop
	opt asmopt_on

	line	14
;i2c.c: 14: TRISB4 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1076/8)^080h,(1076)&7
	line	15
;i2c.c: 15: _delay((unsigned long)((5)*(4000000/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
	clrwdt
	opt asmopt_on

	line	16
;i2c.c: 16: TRISB4 = 1;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bsf	(1076/8)^080h,(1076)&7
	line	18
;i2c.c: 17: return;
	
l891:	
	return
	opt stack 0
GLOBAL	__end_of_i2c_stop
	__end_of_i2c_stop:
;; =============== function _i2c_stop ends ============

	signat	_i2c_stop,88
	global	___awmod
psect	text706,local,class=CODE,delta=2
global __ptext706
__ptext706:

;; *************** 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   BANK2
;;      Params:         4       0       0       0
;;      Locals:         2       0       0       0
;;      Temps:          1       0       0       0
;;      Totals:         7       0       0       0
;;Total ram usage:        7 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text706
	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
	
l7150:	
	clrf	(___awmod@sign)
	line	9
	btfss	(___awmod@dividend+1),7
	goto	u3251
	goto	u3250
u3251:
	goto	l7154
u3250:
	line	10
	
l7152:	
	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	l7154
	line	12
	
l4808:	
	line	13
	
l7154:	
	btfss	(___awmod@divisor+1),7
	goto	u3261
	goto	u3260
u3261:
	goto	l7158
u3260:
	line	14
	
l7156:	
	comf	(___awmod@divisor),f
	comf	(___awmod@divisor+1),f
	incf	(___awmod@divisor),f
	skipnz
	incf	(___awmod@divisor+1),f
	goto	l7158
	
l4809:	
	line	15
	
l7158:	
	movf	(___awmod@divisor+1),w
	iorwf	(___awmod@divisor),w
	skipnz
	goto	u3271
	goto	u3270
u3271:
	goto	l7176
u3270:
	line	16
	
l7160:	
	clrf	(___awmod@counter)
	bsf	status,0
	rlf	(___awmod@counter),f
	line	17
	goto	l7166
	
l4812:	
	line	18
	
l7162:	
	movlw	01h
	
u3285:
	clrc
	rlf	(___awmod@divisor),f
	rlf	(___awmod@divisor+1),f
	addlw	-1
	skipz
	goto	u3285
	line	19
	
l7164:	
	movlw	(01h)
	movwf	(??___awmod+0)+0
	movf	(??___awmod+0)+0,w
	addwf	(___awmod@counter),f
	goto	l7166
	line	20
	
l4811:	
	line	17
	
l7166:	
	btfss	(___awmod@divisor+1),(15)&7
	goto	u3291
	goto	u3290
u3291:
	goto	l7162
u3290:
	goto	l7168
	
l4813:	
	goto	l7168
	line	21
	
l4814:	
	line	22
	
l7168:	
	movf	(___awmod@divisor+1),w
	subwf	(___awmod@dividend+1),w
	skipz
	goto	u3305
	movf	(___awmod@divisor),w
	subwf	(___awmod@dividend),w
u3305:
	skipc
	goto	u3301
	goto	u3300
u3301:
	goto	l7172
u3300:
	line	23
	
l7170:	
	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	l7172
	
l4815:	
	line	24
	
l7172:	
	movlw	01h
	
u3315:
	clrc
	rrf	(___awmod@divisor+1),f
	rrf	(___awmod@divisor),f
	addlw	-1
	skipz
	goto	u3315
	line	25
	
l7174:	
	movlw	low(01h)
	subwf	(___awmod@counter),f
	btfss	status,2
	goto	u3321
	goto	u3320
u3321:
	goto	l7168
u3320:
	goto	l7176
	
l4816:	
	goto	l7176
	line	26
	
l4810:	
	line	27
	
l7176:	
	movf	(___awmod@sign),w
	skipz
	goto	u3330
	goto	l7180
u3330:
	line	28
	
l7178:	
	comf	(___awmod@dividend),f
	comf	(___awmod@dividend+1),f
	incf	(___awmod@dividend),f
	skipnz
	incf	(___awmod@dividend+1),f
	goto	l7180
	
l4817:	
	line	29
	
l7180:	
	movf	(___awmod@dividend+1),w
	clrf	(?___awmod+1)
	addwf	(?___awmod+1)
	movf	(___awmod@dividend),w
	clrf	(?___awmod)
	addwf	(?___awmod)

	goto	l4818
	
l7182:	
	line	30
	
l4818:	
	return
	opt stack 0
GLOBAL	__end_of___awmod
	__end_of___awmod:
;; =============== function ___awmod ends ============

	signat	___awmod,8314
	global	___ftge
psect	text707,local,class=CODE,delta=2
global __ptext707
__ptext707:

;; *************** function ___ftge *****************
;; Defined at:
;;		line 5 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftge.c"
;; Parameters:    Size  Location     Type
;;  ff1             3    0[COMMON] float 
;;  ff2             3    3[COMMON] float 
;; 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   BANK2
;;      Params:         6       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          6       0       0       0
;;      Totals:        12       0       0       0
;;Total ram usage:       12 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;;		_abs
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text707
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftge.c"
	line	5
	global	__size_of___ftge
	__size_of___ftge	equ	__end_of___ftge-___ftge
	
___ftge:	
	opt	stack 6
; Regs used in ___ftge: [wreg+status,2+status,0]
	line	6
	
l7130:	
	btfss	(___ftge@ff1+2),(23)&7
	goto	u3201
	goto	u3200
u3201:
	goto	l7134
u3200:
	line	7
	
l7132:	
	movlw	0
	movwf	((??___ftge+0)+0)
	movlw	0
	movwf	((??___ftge+0)+0+1)
	movlw	080h
	movwf	((??___ftge+0)+0+2)
	comf	(___ftge@ff1),w
	movwf	(??___ftge+3)+0
	comf	(___ftge@ff1+1),w
	movwf	((??___ftge+3)+0+1)
	comf	(___ftge@ff1+2),w
	movwf	((??___ftge+3)+0+2)
	incf	(??___ftge+3)+0,f
	skipnz
	incf	((??___ftge+3)+0+1),f
	skipnz
	incf	((??___ftge+3)+0+2),f
	movf	0+(??___ftge+3)+0,w
	addwf	(??___ftge+0)+0,f
	movf	1+(??___ftge+3)+0,w
	skipnc
	incfsz	1+(??___ftge+3)+0,w
	goto	u3211
	goto	u3212
u3211:
	addwf	(??___ftge+0)+1,f
	
u3212:
	movf	2+(??___ftge+3)+0,w
	skipnc
	incfsz	2+(??___ftge+3)+0,w
	goto	u3213
	goto	u3214
u3213:
	addwf	(??___ftge+0)+2,f
	
u3214:
	movf	0+(??___ftge+0)+0,w
	movwf	(___ftge@ff1)
	movf	1+(??___ftge+0)+0,w
	movwf	(___ftge@ff1+1)
	movf	2+(??___ftge+0)+0,w
	movwf	(___ftge@ff1+2)
	goto	l7134
	
l4767:	
	line	8
	
l7134:	
	btfss	(___ftge@ff2+2),(23)&7
	goto	u3221
	goto	u3220
u3221:
	goto	l7138
u3220:
	line	9
	
l7136:	
	movlw	0
	movwf	((??___ftge+0)+0)
	movlw	0
	movwf	((??___ftge+0)+0+1)
	movlw	080h
	movwf	((??___ftge+0)+0+2)
	comf	(___ftge@ff2),w
	movwf	(??___ftge+3)+0
	comf	(___ftge@ff2+1),w
	movwf	((??___ftge+3)+0+1)
	comf	(___ftge@ff2+2),w
	movwf	((??___ftge+3)+0+2)
	incf	(??___ftge+3)+0,f
	skipnz
	incf	((??___ftge+3)+0+1),f
	skipnz
	incf	((??___ftge+3)+0+2),f
	movf	0+(??___ftge+3)+0,w
	addwf	(??___ftge+0)+0,f
	movf	1+(??___ftge+3)+0,w
	skipnc
	incfsz	1+(??___ftge+3)+0,w
	goto	u3231
	goto	u3232
u3231:
	addwf	(??___ftge+0)+1,f
	
u3232:
	movf	2+(??___ftge+3)+0,w
	skipnc
	incfsz	2+(??___ftge+3)+0,w
	goto	u3233
	goto	u3234
u3233:
	addwf	(??___ftge+0)+2,f
	
u3234:
	movf	0+(??___ftge+0)+0,w
	movwf	(___ftge@ff2)
	movf	1+(??___ftge+0)+0,w
	movwf	(___ftge@ff2+1)
	movf	2+(??___ftge+0)+0,w
	movwf	(___ftge@ff2+2)
	goto	l7138
	
l4768:	
	line	10
	
l7138:	
	movlw	080h
	xorwf	(___ftge@ff1+2),f
	line	11
	
l7140:	
	movlw	080h
	xorwf	(___ftge@ff2+2),f
	line	12
	
l7142:	
	movf	(___ftge@ff2+2),w
	subwf	(___ftge@ff1+2),w
	skipz
	goto	u3245
	movf	(___ftge@ff2+1),w
	subwf	(___ftge@ff1+1),w
	skipz
	goto	u3245
	movf	(___ftge@ff2),w
	subwf	(___ftge@ff1),w
u3245:
	skipnc
	goto	u3241
	goto	u3240
u3241:
	goto	l7146
u3240:
	
l7144:	
	clrc
	
	goto	l4769
	
l6938:	
	
l7146:	
	setc
	
	goto	l4769
	
l6940:	
	goto	l4769
	
l7148:	
	line	13
	
l4769:	
	return
	opt stack 0
GLOBAL	__end_of___ftge
	__end_of___ftge:
;; =============== function ___ftge ends ============

	signat	___ftge,8312
	global	___ftneg
psect	text708,local,class=CODE,delta=2
global __ptext708
__ptext708:

;; *************** function ___ftneg *****************
;; Defined at:
;;		line 16 in file "C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftneg.c"
;; Parameters:    Size  Location     Type
;;  f1              3    0[COMMON] float 
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  3    0[COMMON] float 
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         3       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         3       0       0       0
;;Total ram usage:        3 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;;		_abs
;; This function uses a non-reentrant model
;;
psect	text708
	file	"C:\Program Files (x86)\HI-TECH Software\PICC\9.83\sources\ftneg.c"
	line	16
	global	__size_of___ftneg
	__size_of___ftneg	equ	__end_of___ftneg-___ftneg
	
___ftneg:	
	opt	stack 6
; Regs used in ___ftneg: [wreg]
	line	17
	
l7122:	
	movf	(___ftneg@f1+2),w
	iorwf	(___ftneg@f1+1),w
	iorwf	(___ftneg@f1),w
	skipnz
	goto	u3191
	goto	u3190
u3191:
	goto	l7126
u3190:
	line	18
	
l7124:	
	movlw	080h
	xorwf	(___ftneg@f1+2),f
	goto	l7126
	
l4763:	
	line	19
	
l7126:	
	goto	l4764
	
l7128:	
	line	20
	
l4764:	
	return
	opt stack 0
GLOBAL	__end_of___ftneg
	__end_of___ftneg:
;; =============== function ___ftneg ends ============

	signat	___ftneg,4219
	global	___awdiv
psect	text709,local,class=CODE,delta=2
global __ptext709
__ptext709:

;; *************** 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   BANK2
;;      Params:         4       0       0       0
;;      Locals:         0       4       0       0
;;      Temps:          1       0       0       0
;;      Totals:         5       4       0       0
;;Total ram usage:        9 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text709
	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
	
l7082:	
	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	u3091
	goto	u3090
u3091:
	goto	l7086
u3090:
	line	11
	
l7084:	
	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	l7086
	line	13
	
l4740:	
	line	14
	
l7086:	
	btfss	(___awdiv@dividend+1),7
	goto	u3101
	goto	u3100
u3101:
	goto	l7092
u3100:
	line	15
	
l7088:	
	comf	(___awdiv@dividend),f
	comf	(___awdiv@dividend+1),f
	incf	(___awdiv@dividend),f
	skipnz
	incf	(___awdiv@dividend+1),f
	line	16
	
l7090:	
	movlw	(01h)
	movwf	(??___awdiv+0)+0
	movf	(??___awdiv+0)+0,w
	xorwf	(___awdiv@sign),f
	goto	l7092
	line	17
	
l4741:	
	line	18
	
l7092:	
	clrf	(___awdiv@quotient)
	clrf	(___awdiv@quotient+1)
	line	19
	
l7094:	
	movf	(___awdiv@divisor+1),w
	iorwf	(___awdiv@divisor),w
	skipnz
	goto	u3111
	goto	u3110
u3111:
	goto	l7114
u3110:
	line	20
	
l7096:	
	clrf	(___awdiv@counter)
	bsf	status,0
	rlf	(___awdiv@counter),f
	line	21
	goto	l7102
	
l4744:	
	line	22
	
l7098:	
	movlw	01h
	
u3125:
	clrc
	rlf	(___awdiv@divisor),f
	rlf	(___awdiv@divisor+1),f
	addlw	-1
	skipz
	goto	u3125
	line	23
	
l7100:	
	movlw	(01h)
	movwf	(??___awdiv+0)+0
	movf	(??___awdiv+0)+0,w
	addwf	(___awdiv@counter),f
	goto	l7102
	line	24
	
l4743:	
	line	21
	
l7102:	
	btfss	(___awdiv@divisor+1),(15)&7
	goto	u3131
	goto	u3130
u3131:
	goto	l7098
u3130:
	goto	l7104
	
l4745:	
	goto	l7104
	line	25
	
l4746:	
	line	26
	
l7104:	
	movlw	01h
	
u3145:
	clrc
	rlf	(___awdiv@quotient),f
	rlf	(___awdiv@quotient+1),f
	addlw	-1
	skipz
	goto	u3145
	line	27
	movf	(___awdiv@divisor+1),w
	subwf	(___awdiv@dividend+1),w
	skipz
	goto	u3155
	movf	(___awdiv@divisor),w
	subwf	(___awdiv@dividend),w
u3155:
	skipc
	goto	u3151
	goto	u3150
u3151:
	goto	l7110
u3150:
	line	28
	
l7106:	
	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
	
l7108:	
	bsf	(___awdiv@quotient)+(0/8),(0)&7
	goto	l7110
	line	30
	
l4747:	
	line	31
	
l7110:	
	movlw	01h
	
u3165:
	clrc
	rrf	(___awdiv@divisor+1),f
	rrf	(___awdiv@divisor),f
	addlw	-1
	skipz
	goto	u3165
	line	32
	
l7112:	
	movlw	low(01h)
	subwf	(___awdiv@counter),f
	btfss	status,2
	goto	u3171
	goto	u3170
u3171:
	goto	l7104
u3170:
	goto	l7114
	
l4748:	
	goto	l7114
	line	33
	
l4742:	
	line	34
	
l7114:	
	movf	(___awdiv@sign),w
	skipz
	goto	u3180
	goto	l7118
u3180:
	line	35
	
l7116:	
	comf	(___awdiv@quotient),f
	comf	(___awdiv@quotient+1),f
	incf	(___awdiv@quotient),f
	skipnz
	incf	(___awdiv@quotient+1),f
	goto	l7118
	
l4749:	
	line	36
	
l7118:	
	movf	(___awdiv@quotient+1),w
	clrf	(?___awdiv+1)
	addwf	(?___awdiv+1)
	movf	(___awdiv@quotient),w
	clrf	(?___awdiv)
	addwf	(?___awdiv)

	goto	l4750
	
l7120:	
	line	37
	
l4750:	
	return
	opt stack 0
GLOBAL	__end_of___awdiv
	__end_of___awdiv:
;; =============== function ___awdiv ends ============

	signat	___awdiv,8314
	global	___fttol
psect	text710,local,class=CODE,delta=2
global __ptext710
__ptext710:

;; *************** 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   BANK2
;;      Params:         4       0       0       0
;;      Locals:         6       0       0       0
;;      Temps:          4       0       0       0
;;      Totals:        14       0       0       0
;;Total ram usage:       14 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text710
	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 6
; Regs used in ___fttol: [wreg+status,2+status,0]
	line	49
	
l7026:	
	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	u2981
	goto	u2980
u2981:
	goto	l7032
u2980:
	line	50
	
l7028:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l4710
	
l7030:	
	goto	l4710
	
l4709:	
	line	51
	
l7032:	
	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
u2995:
	clrc
	rrf	(??___fttol+0)+2,f
	rrf	(??___fttol+0)+1,f
	rrf	(??___fttol+0)+0,f
u2990:
	addlw	-1
	skipz
	goto	u2995
	movf	0+(??___fttol+0)+0,w
	movwf	(??___fttol+3)+0
	movf	(??___fttol+3)+0,w
	movwf	(___fttol@sign1)
	line	52
	
l7034:	
	bsf	(___fttol@f1)+(15/8),(15)&7
	line	53
	
l7036:	
	movlw	0FFh
	andwf	(___fttol@f1),f
	movlw	0FFh
	andwf	(___fttol@f1+1),f
	movlw	0
	andwf	(___fttol@f1+2),f
	line	54
	
l7038:	
	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
	
l7040:	
	movlw	low(08Eh)
	subwf	(___fttol@exp1),f
	line	56
	
l7042:	
	btfss	(___fttol@exp1),7
	goto	u3001
	goto	u3000
u3001:
	goto	l7052
u3000:
	line	57
	
l7044:	
	movf	(___fttol@exp1),w
	xorlw	80h
	addlw	-((-15)^80h)
	skipnc
	goto	u3011
	goto	u3010
u3011:
	goto	l7050
u3010:
	line	58
	
l7046:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l4710
	
l7048:	
	goto	l4710
	
l4712:	
	goto	l7050
	line	59
	
l4713:	
	line	60
	
l7050:	
	movlw	01h
u3025:
	clrc
	rrf	(___fttol@lval+3),f
	rrf	(___fttol@lval+2),f
	rrf	(___fttol@lval+1),f
	rrf	(___fttol@lval),f
	addlw	-1
	skipz
	goto	u3025

	line	61
	movlw	(01h)
	movwf	(??___fttol+0)+0
	movf	(??___fttol+0)+0,w
	addwf	(___fttol@exp1),f
	btfss	status,2
	goto	u3031
	goto	u3030
u3031:
	goto	l7050
u3030:
	goto	l7062
	
l4714:	
	line	62
	goto	l7062
	
l4711:	
	line	63
	
l7052:	
	movlw	(018h)
	subwf	(___fttol@exp1),w
	skipc
	goto	u3041
	goto	u3040
u3041:
	goto	l7060
u3040:
	line	64
	
l7054:	
	movlw	0
	movwf	(?___fttol+3)
	movlw	0
	movwf	(?___fttol+2)
	movlw	0
	movwf	(?___fttol+1)
	movlw	0
	movwf	(?___fttol)

	goto	l4710
	
l7056:	
	goto	l4710
	
l4716:	
	line	65
	goto	l7060
	
l4718:	
	line	66
	
l7058:	
	movlw	01h
	movwf	(??___fttol+0)+0
u3055:
	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	u3055
	line	67
	movlw	low(01h)
	subwf	(___fttol@exp1),f
	goto	l7060
	line	68
	
l4717:	
	line	65
	
l7060:	
	movf	(___fttol@exp1),f
	skipz
	goto	u3061
	goto	u3060
u3061:
	goto	l7058
u3060:
	goto	l7062
	
l4719:	
	goto	l7062
	line	69
	
l4715:	
	line	70
	
l7062:	
	movf	(___fttol@sign1),w
	skipz
	goto	u3070
	goto	l7066
u3070:
	line	71
	
l7064:	
	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	l7066
	
l4720:	
	line	72
	
l7066:	
	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	l4710
	
l7068:	
	line	73
	
l4710:	
	return
	opt stack 0
GLOBAL	__end_of___fttol
	__end_of___fttol:
;; =============== function ___fttol ends ============

	signat	___fttol,4220
	global	___ftpack
psect	text711,local,class=CODE,delta=2
global __ptext711
__ptext711:

;; *************** 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   BANK2
;;      Params:         5       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          3       0       0       0
;;      Totals:         8       0       0       0
;;Total ram usage:        8 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		___ftadd
;;		___ftdiv
;;		___ftmul
;;		___awtoft
;;		___lbtoft
;;		___abtoft
;;		___lwtoft
;;		___altoft
;;		___lltoft
;;		___attoft
;;		___lttoft
;; This function uses a non-reentrant model
;;
psect	text711
	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
	
l6996:	
	movf	(___ftpack@exp),w
	skipz
	goto	u2870
	goto	l7000
u2870:
	
l6998:	
	movf	(___ftpack@arg+2),w
	iorwf	(___ftpack@arg+1),w
	iorwf	(___ftpack@arg),w
	skipz
	goto	u2881
	goto	u2880
u2881:
	goto	l7006
u2880:
	goto	l7000
	
l4934:	
	line	65
	
l7000:	
	movlw	0x0
	movwf	(?___ftpack)
	movlw	0x0
	movwf	(?___ftpack+1)
	movlw	0x0
	movwf	(?___ftpack+2)
	goto	l4935
	
l7002:	
	goto	l4935
	
l4932:	
	line	66
	goto	l7006
	
l4937:	
	line	67
	
l7004:	
	movlw	(01h)
	movwf	(??___ftpack+0)+0
	movf	(??___ftpack+0)+0,w
	addwf	(___ftpack@exp),f
	line	68
	movlw	01h
u2895:
	clrc
	rrf	(___ftpack@arg+2),f
	rrf	(___ftpack@arg+1),f
	rrf	(___ftpack@arg),f
	addlw	-1
	skipz
	goto	u2895

	goto	l7006
	line	69
	
l4936:	
	line	66
	
l7006:	
	movlw	low highword(0FE0000h)
	andwf	(___ftpack@arg+2),w
	btfss	status,2
	goto	u2901
	goto	u2900
u2901:
	goto	l7004
u2900:
	goto	l4939
	
l4938:	
	line	70
	goto	l4939
	
l4940:	
	line	71
	
l7008:	
	movlw	(01h)
	movwf	(??___ftpack+0)+0
	movf	(??___ftpack+0)+0,w
	addwf	(___ftpack@exp),f
	line	72
	
l7010:	
	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
	
l7012:	
	movlw	01h
u2915:
	clrc
	rrf	(___ftpack@arg+2),f
	rrf	(___ftpack@arg+1),f
	rrf	(___ftpack@arg),f
	addlw	-1
	skipz
	goto	u2915

	line	74
	
l4939:	
	line	70
	movlw	low highword(0FF0000h)
	andwf	(___ftpack@arg+2),w
	btfss	status,2
	goto	u2921
	goto	u2920
u2921:
	goto	l7008
u2920:
	goto	l7016
	
l4941:	
	line	75
	goto	l7016
	
l4943:	
	line	76
	
l7014:	
	movlw	low(01h)
	subwf	(___ftpack@exp),f
	line	77
	movlw	01h
u2935:
	clrc
	rlf	(___ftpack@arg),f
	rlf	(___ftpack@arg+1),f
	rlf	(___ftpack@arg+2),f
	addlw	-1
	skipz
	goto	u2935
	goto	l7016
	line	78
	
l4942:	
	line	75
	
l7016:	
	btfss	(___ftpack@arg+1),(15)&7
	goto	u2941
	goto	u2940
u2941:
	goto	l7014
u2940:
	
l4944:	
	line	79
	btfsc	(___ftpack@exp),(0)&7
	goto	u2951
	goto	u2950
u2951:
	goto	l4945
u2950:
	line	80
	
l7018:	
	movlw	0FFh
	andwf	(___ftpack@arg),f
	movlw	07Fh
	andwf	(___ftpack@arg+1),f
	movlw	0FFh
	andwf	(___ftpack@arg+2),f
	
l4945:	
	line	81
	clrc
	rrf	(___ftpack@exp),f

	line	82
	
l7020:	
	movf	(___ftpack@exp),w
	movwf	((??___ftpack+0)+0)
	clrf	((??___ftpack+0)+0+1)
	clrf	((??___ftpack+0)+0+2)
	movlw	010h
u2965:
	clrc
	rlf	(??___ftpack+0)+0,f
	rlf	(??___ftpack+0)+1,f
	rlf	(??___ftpack+0)+2,f
u2960:
	addlw	-1
	skipz
	goto	u2965
	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
	
l7022:	
	movf	(___ftpack@sign),w
	skipz
	goto	u2970
	goto	l4946
u2970:
	line	84
	
l7024:	
	bsf	(___ftpack@arg)+(23/8),(23)&7
	
l4946:	
	line	85
	line	86
	
l4935:	
	return
	opt stack 0
GLOBAL	__end_of___ftpack
	__end_of___ftpack:
;; =============== function ___ftpack ends ============

	signat	___ftpack,12411
	global	_rs232_send_byte
psect	text712,local,class=CODE,delta=2
global __ptext712
__ptext712:

;; *************** function _rs232_send_byte *****************
;; Defined at:
;;		line 20 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
;; Parameters:    Size  Location     Type
;;  x               1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  x               1    0[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         1       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         1       0       0       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;;		_rs232_send_text
;;		_dinamo
;; This function uses a non-reentrant model
;;
psect	text712
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
	line	20
	global	__size_of_rs232_send_byte
	__size_of_rs232_send_byte	equ	__end_of_rs232_send_byte-_rs232_send_byte
	
_rs232_send_byte:	
	opt	stack 6
; Regs used in _rs232_send_byte: [wreg]
;rs232_send_byte@x stored from wreg
	movwf	(rs232_send_byte@x)
	line	21
	
l6994:	
;rs232.c: 21: TXREG = x;
	movf	(rs232_send_byte@x),w
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(25)	;volatile
	line	22
;rs232.c: 22: while(!TRMT);
	goto	l2784
	
l2785:	
	
l2784:	
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	btfss	(1217/8)^080h,(1217)&7
	goto	u2861
	goto	u2860
u2861:
	goto	l2784
u2860:
	goto	l2787
	
l2786:	
	line	24
;rs232.c: 23: return;
	
l2787:	
	return
	opt stack 0
GLOBAL	__end_of_rs232_send_byte
	__end_of_rs232_send_byte:
;; =============== function _rs232_send_byte ends ============

	signat	_rs232_send_byte,4216
	global	_rs232_init
psect	text713,local,class=CODE,delta=2
global __ptext713
__ptext713:

;; *************** function _rs232_init *****************
;; Defined at:
;;		line 9 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;                  1    wreg      unsigned char 
;; Registers used:
;;		wreg, status,2
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         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	text713
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\rs232.c"
	line	9
	global	__size_of_rs232_init
	__size_of_rs232_init	equ	__end_of_rs232_init-_rs232_init
	
_rs232_init:	
	opt	stack 7
; Regs used in _rs232_init: [wreg+status,2]
	line	10
	
l6984:	
;rs232.c: 10: TRISB = 0x00;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	clrf	(134)^080h	;volatile
	line	11
;rs232.c: 11: PORTB = 0x00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(6)	;volatile
	line	12
	
l6986:	
;rs232.c: 12: SPBRG = 25;
	movlw	(019h)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(153)^080h	;volatile
	line	13
	
l6988:	
;rs232.c: 13: TXSTA = 0b00100110;
	movlw	(026h)
	movwf	(152)^080h	;volatile
	line	14
	
l6990:	
;rs232.c: 14: RCSTA = 0b10010000;
	movlw	(090h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(24)	;volatile
	goto	l2781
	line	16
	
l6992:	
	line	17
;rs232.c: 16: return(0);
;	Return value of _rs232_init is never used
	
l2781:	
	return
	opt stack 0
GLOBAL	__end_of_rs232_init
	__end_of_rs232_init:
;; =============== function _rs232_init ends ============

	signat	_rs232_init,89
	global	_init_PIC
psect	text714,local,class=CODE,delta=2
global __ptext714
__ptext714:

;; *************** function _init_PIC *****************
;; Defined at:
;;		line 13 in file "C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.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   BANK2
;;      Params:         0       0       0       0
;;      Locals:         0       0       0       0
;;      Temps:          0       0       0       0
;;      Totals:         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	text714
	file	"C:\Program Files (x86)\Microchip\MPLAB Projekti\PROJEKT\Zadatak 5\svastara.c"
	line	13
	global	__size_of_init_PIC
	__size_of_init_PIC	equ	__end_of_init_PIC-_init_PIC
	
_init_PIC:	
	opt	stack 7
; Regs used in _init_PIC: [wreg+status,2]
	line	14
	
l6978:	
;svastara.c: 14: ANSEL = 0x00;
	bcf	status, 5	;RP0=0, select bank2
	bsf	status, 6	;RP1=1, select bank2
	clrf	(286)^0100h	;volatile
	line	15
;svastara.c: 15: ANSELH = 0x00;
	clrf	(287)^0100h	;volatile
	line	16
;svastara.c: 16: TRISA = 0x00;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	clrf	(133)^080h	;volatile
	line	17
;svastara.c: 17: TRISC = 0x00;
	clrf	(135)^080h	;volatile
	line	18
;svastara.c: 18: PORTA = 0x00;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	clrf	(5)	;volatile
	line	19
	
l6980:	
;svastara.c: 19: TRISB = 0xF0;
	movlw	(0F0h)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(134)^080h	;volatile
	line	20
	
l6982:	
;svastara.c: 20: SSPCON = 0b00111011;
	movlw	(03Bh)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	(20)	;volatile
	line	21
	
l3701:	
	return
	opt stack 0
GLOBAL	__end_of_init_PIC
	__end_of_init_PIC:
;; =============== function _init_PIC ends ============

	signat	_init_PIC,88
psect	text715,local,class=CODE,delta=2
global __ptext715
__ptext715:
	global	btemp
	btemp set 07Eh

	DABS	1,126,2	;btemp
	global	wtemp0
	wtemp0 set btemp
	end
