	.file "D:\\Projects\\FOCE\\SensorNode\\SensorNode\\sensorNodeMain\\SensorNodeMainStandalone\\..\\..\\modbus\\functions\\mbfuncother.c"
	.section	.debug_abbrev,info
.Ldebug_abbrev0:
	.section	.debug_info,info
.Ldebug_info0:
	.section	.debug_line,info
.Ldebug_line0:
	.section	.text,code
.Ltext0:
	.pushsection	.nbss,bss,near
_ucMBSlaveID:	.space	32
	.popsection
	.pushsection	.nbss,bss,near
	.align	2
_usMBSlaveIDLen:	.space	2
	.popsection
	.section	.text,code
	.align	2
	.global	_eMBSetSlaveID	; export
	.type	_eMBSetSlaveID,@function
_eMBSetSlaveID:
.LFB0:
.LSM0:
	.set ___PA___,1
	lnk	#10
	mov.b	w0,[w14+2]
	mov	w1,[w14+4]
	mov	w2,[w14+6]
	mov	w3,[w14+8]
.LSM1:
	clr	w4
	mov	w4,[w14]
.LSM2:
	mov	[w14+8],w4
	inc2	w4,w4
	sub	w4,#31,[w15]
	.set ___BP___,0
	bra	gtu,.L2
.LSM3:
	clr	w4
	mov	w4,_usMBSlaveIDLen
.LSM4:
	mov	_usMBSlaveIDLen,w4
	mov	#_ucMBSlaveID,w5
	add	w4,w5,w5
	mov.b	[w14+2],w6
	mov.b	w6,[w5]
	inc	w4,w4
	mov	w4,_usMBSlaveIDLen
.LSM5:
	mov	_usMBSlaveIDLen,w5
	mov	[w14+4],w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	z,.L3
	setm.b	w4
	bra	.L4
.L3:
	clr.b	w4
.L4:
	mov	#_ucMBSlaveID,w6
	add	w5,w6,w6
	mov.b	w4,[w6]
	inc	w5,w4
	mov	w4,_usMBSlaveIDLen
.LSM6:
	mov	[w14+8],w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	z,.L5
.LSM7:
	mov	_usMBSlaveIDLen,w5
	mov	#_ucMBSlaveID,w4
	add	w5,w4,w4
	mov	[w14+8],w2
	mov	[w14+6],w1
	mov	w4,w0
	rcall	_memcpy
.LSM8:
	mov	_usMBSlaveIDLen,w5
	mov	[w14+8],w4
	add	w5,w4,w4
	mov	w4,_usMBSlaveIDLen
	bra	.L5
.L2:
.LSM9:
	mov	#4,w4
	mov	w4,[w14]
.L5:
.LSM10:
	mov	[w14],w4
.LSM11:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE0:
	.align	2
	.global	_eMBFuncReportSlaveID	; export
	.type	_eMBFuncReportSlaveID,@function
_eMBFuncReportSlaveID:
.LFB1:
.LSM12:
	.set ___PA___,1
	lnk	#4
	mov	w0,[w14]
	mov	w1,[w14+2]
.LSM13:
	mov	_usMBSlaveIDLen,w5
	inc	[w14],w4
	mov	w5,w2
	mov	#_ucMBSlaveID,w1
	mov	w4,w0
	rcall	_memcpy
.LSM14:
	mov	_usMBSlaveIDLen,w4
	inc	w4,w5
	mov	[w14+2],w4
	mov	w5,[w4]
.LSM15:
	clr	w4
.LSM16:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE1:
	.section	.debug_frame,info
.Lframe0:
	.4byte	.LECIE0-.LSCIE0
.LSCIE0:
	.4byte	0xffffffff
	.byte	0x1
	.byte	0
	.uleb128 0x1
	.sleb128 2
	.byte	0x25
	.byte	0x12
	.uleb128 0xf
	.sleb128 -2
	.byte	0x9
	.uleb128 0x25
	.uleb128 0xf
	.align	4
.LECIE0:
.LSFDE0:
	.4byte	.LEFDE0-.LASFDE0
.LASFDE0:
	.4byte	.Lframe0
	.4byte	.LFB0
	.4byte	.LFE0-.LFB0
	.align	4
.LEFDE0:
.LSFDE2:
	.4byte	.LEFDE2-.LASFDE2
.LASFDE2:
	.4byte	.Lframe0
	.4byte	.LFB1
	.4byte	.LFE1-.LFB1
	.align	4
.LEFDE2:
	.section	.text,code
.Letext0:
	.section	.debug_info,info
	.4byte	0x4a4
	.2byte	0x2
	.4byte	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.asciz	"GNU C 4.5.1 (XC16, Microchip v1_20) (A) Build date: Sep 30 2013"
	.byte	0x1
	.asciz	"../../modbus/functions/mbfuncother.c"
	.ascii	"D:\\\\Projects\\\\FOCE\\\\SensorNode\\\\SensorNode\\\\sensorNodeMain"
	.asciz	"\\\\SensorNodeMainStandalone"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"int"
	.uleb128 0x3
	.asciz	"size_t"
	.byte	0x2
	.byte	0x5
	.4byte	0xe8
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"unsigned int"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"short unsigned int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x5
	.asciz	"long int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.asciz	"long unsigned int"
	.uleb128 0x4
	.asciz	"_BOOL"
	.byte	0x2
	.byte	0x3
	.byte	0x40
	.4byte	0x14d
	.uleb128 0x5
	.asciz	"FALSE"
	.sleb128 0
	.uleb128 0x5
	.asciz	"TRUE"
	.sleb128 1
	.byte	0x0
	.uleb128 0x3
	.asciz	"BOOL"
	.byte	0x3
	.byte	0x40
	.4byte	0x12f
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.asciz	"signed char"
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"short int"
	.uleb128 0x2
	.byte	0x8
	.byte	0x5
	.asciz	"long long int"
	.uleb128 0x2
	.byte	0x1
	.byte	0x8
	.asciz	"unsigned char"
	.uleb128 0x2
	.byte	0x8
	.byte	0x7
	.asciz	"long long unsigned int"
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.asciz	"char"
	.uleb128 0x3
	.asciz	"UCHAR"
	.byte	0x4
	.byte	0x2b
	.4byte	0x186
	.uleb128 0x3
	.asciz	"USHORT"
	.byte	0x4
	.byte	0x31
	.4byte	0xf8
	.uleb128 0x6
	.byte	0x2
	.byte	0x5
	.byte	0x3b
	.4byte	0x2d2
	.uleb128 0x5
	.asciz	"MB_EX_NONE"
	.sleb128 0
	.uleb128 0x5
	.asciz	"MB_EX_ILLEGAL_FUNCTION"
	.sleb128 1
	.uleb128 0x5
	.asciz	"MB_EX_ILLEGAL_DATA_ADDRESS"
	.sleb128 2
	.uleb128 0x5
	.asciz	"MB_EX_ILLEGAL_DATA_VALUE"
	.sleb128 3
	.uleb128 0x5
	.asciz	"MB_EX_SLAVE_DEVICE_FAILURE"
	.sleb128 4
	.uleb128 0x5
	.asciz	"MB_EX_ACKNOWLEDGE"
	.sleb128 5
	.uleb128 0x5
	.asciz	"MB_EX_SLAVE_BUSY"
	.sleb128 6
	.uleb128 0x5
	.asciz	"MB_EX_MEMORY_PARITY_ERROR"
	.sleb128 8
	.uleb128 0x5
	.asciz	"MB_EX_GATEWAY_PATH_FAILED"
	.sleb128 10
	.uleb128 0x5
	.asciz	"MB_EX_GATEWAY_TGT_FAILED"
	.sleb128 11
	.byte	0x0
	.uleb128 0x3
	.asciz	"eMBException"
	.byte	0x5
	.byte	0x46
	.4byte	0x1d4
	.uleb128 0x7
	.byte	0x2
	.4byte	0x1b9
	.uleb128 0x7
	.byte	0x2
	.4byte	0x1c6
	.uleb128 0x6
	.byte	0x2
	.byte	0x6
	.byte	0x72
	.4byte	0x360
	.uleb128 0x5
	.asciz	"MB_ENOERR"
	.sleb128 0
	.uleb128 0x5
	.asciz	"MB_ENOREG"
	.sleb128 1
	.uleb128 0x5
	.asciz	"MB_EINVAL"
	.sleb128 2
	.uleb128 0x5
	.asciz	"MB_EPORTERR"
	.sleb128 3
	.uleb128 0x5
	.asciz	"MB_ENORES"
	.sleb128 4
	.uleb128 0x5
	.asciz	"MB_EIO"
	.sleb128 5
	.uleb128 0x5
	.asciz	"MB_EILLSTATE"
	.sleb128 6
	.uleb128 0x5
	.asciz	"MB_ETIMEDOUT"
	.sleb128 7
	.byte	0x0
	.uleb128 0x3
	.asciz	"eMBErrorCode"
	.byte	0x6
	.byte	0x7b
	.4byte	0x2f2
	.uleb128 0x7
	.byte	0x2
	.4byte	0x37a
	.uleb128 0x8
	.4byte	0x1b9
	.uleb128 0x9
	.byte	0x1
	.asciz	"eMBSetSlaveID"
	.byte	0x1
	.byte	0x35
	.byte	0x1
	.4byte	0x360
	.4byte	.LFB0
	.4byte	.LFE0
	.byte	0x1
	.byte	0x5e
	.4byte	0x412
	.uleb128 0xa
	.asciz	"ucSlaveID"
	.byte	0x1
	.byte	0x35
	.4byte	0x1b9
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0xa
	.asciz	"xIsRunning"
	.byte	0x1
	.byte	0x35
	.4byte	0x14d
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0xa
	.asciz	"pucAdditional"
	.byte	0x1
	.byte	0x36
	.4byte	0x374
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.uleb128 0xa
	.asciz	"usAdditionalLen"
	.byte	0x1
	.byte	0x36
	.4byte	0x1c6
	.byte	0x2
	.byte	0x7e
	.sleb128 8
	.uleb128 0xb
	.asciz	"eStatus"
	.byte	0x1
	.byte	0x38
	.4byte	0x360
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.byte	0x0
	.uleb128 0x9
	.byte	0x1
	.asciz	"eMBFuncReportSlaveID"
	.byte	0x1
	.byte	0x51
	.byte	0x1
	.4byte	0x2d2
	.4byte	.LFB1
	.4byte	.LFE1
	.byte	0x1
	.byte	0x5e
	.4byte	0x462
	.uleb128 0xa
	.asciz	"pucFrame"
	.byte	0x1
	.byte	0x51
	.4byte	0x2e6
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0xa
	.asciz	"usLen"
	.byte	0x1
	.byte	0x51
	.4byte	0x2ec
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.byte	0x0
	.uleb128 0xc
	.4byte	0x1b9
	.4byte	0x472
	.uleb128 0xd
	.4byte	0xe8
	.byte	0x1f
	.byte	0x0
	.uleb128 0xb
	.asciz	"ucMBSlaveID"
	.byte	0x1
	.byte	0x2f
	.4byte	0x462
	.byte	0x5
	.byte	0x3
	.4byte	_ucMBSlaveID
	.uleb128 0xb
	.asciz	"usMBSlaveIDLen"
	.byte	0x1
	.byte	0x30
	.4byte	0x1c6
	.byte	0x5
	.byte	0x3
	.4byte	_usMBSlaveIDLen
	.byte	0x0
	.section	.debug_abbrev,info
	.uleb128 0x1
	.uleb128 0x11
	.byte	0x1
	.uleb128 0x25
	.uleb128 0x8
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x1b
	.uleb128 0x8
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x10
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0x2
	.uleb128 0x24
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x4
	.uleb128 0x4
	.byte	0x1
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x5
	.uleb128 0x28
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x1c
	.uleb128 0xd
	.byte	0x0
	.byte	0x0
	.uleb128 0x6
	.uleb128 0x4
	.byte	0x1
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.uleb128 0xf
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x8
	.uleb128 0x26
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x9
	.uleb128 0x2e
	.byte	0x1
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x27
	.uleb128 0xc
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xa
	.uleb128 0x5
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0xb
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0xc
	.uleb128 0x1
	.byte	0x1
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xd
	.uleb128 0x21
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2f
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x39
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x4a8
	.4byte	0x37f
	.asciz	"eMBSetSlaveID"
	.4byte	0x412
	.asciz	"eMBFuncReportSlaveID"
	.4byte	0x0
	.section	.debug_pubtypes,info
	.4byte	0x63
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x4a8
	.4byte	0xda
	.asciz	"size_t"
	.4byte	0x12f
	.asciz	"_BOOL"
	.4byte	0x14d
	.asciz	"BOOL"
	.4byte	0x1b9
	.asciz	"UCHAR"
	.4byte	0x1c6
	.asciz	"USHORT"
	.4byte	0x2d2
	.asciz	"eMBException"
	.4byte	0x360
	.asciz	"eMBErrorCode"
	.4byte	0x0
	.section	.debug_aranges,info
	.4byte	0x14
	.2byte	0x2
	.4byte	.Ldebug_info0
	.byte	0x4
	.byte	0x0
	.2byte	0x0
	.2byte	0x0
	.4byte	0x0
	.4byte	0x0
	.section	.debug_line,info
	.4byte	.LELT0-.LSLT0
.LSLT0:
	.2byte	0x2
	.4byte	.LELTP0-.LASLTP0
.LASLTP0:
	.byte	0x1
	.byte	0x1
	.byte	0xf6
	.byte	0xf5
	.byte	0xa
	.byte	0x0
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.byte	0x1
	.ascii	"../../modbus/functions"
	.byte 0
	.ascii	"../../modbus/include"
	.byte 0
	.ascii	"c:\\program files (x86)\\microchip\\xc16\\v1.20\\bin\\bin\\../..\\in"
	.ascii	"clude"
	.byte 0
	.ascii	"c:\\program files (x86)\\microchip\\xc16\\v1.20\\bin\\bin\\../..\\su"
	.ascii	"pport\\peripheral_24F"
	.byte 0
	.byte	0x0
	.asciz	"mbfuncother.c"
	.uleb128 0x1
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"stddef.h"
	.uleb128 0x3
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"GenericTypeDefs.h"
	.uleb128 0x4
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"port.h"
	.uleb128 0x2
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"mbproto.h"
	.uleb128 0x2
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"mb.h"
	.uleb128 0x2
	.uleb128 0x0
	.uleb128 0x0
	.byte	0x0
.LELTP0:
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.Letext0
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM0
	.byte	0x4a
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM1
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM2
	.byte	0x19
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM3
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM4
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM5
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM6
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM7
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM8
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM9
	.byte	0x19
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM10
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM11
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE0
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM12
	.byte	0x65
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM13
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM14
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM15
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM16
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE1
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
.LELT0:
	.section	.debug_str,info
	.section	.text,code

	.section __c30_signature, info, data
	.word 0x0001
	.word 0x0001
	.word 0x0000

; MCHP configuration words

	.set ___PA___,0
	.end
