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

opt pagewidth 120

	opt pm

	processor	16F685
clrc	macro
	bcf	3,0
	endm
clrz	macro
	bcf	3,2
	endm
setc	macro
	bsf	3,0
	endm
setz	macro
	bsf	3,2
	endm
skipc	macro
	btfss	3,0
	endm
skipz	macro
	btfss	3,2
	endm
skipnc	macro
	btfsc	3,0
	endm
skipnz	macro
	btfsc	3,2
	endm
indf	equ	0
indf0	equ	0
pc	equ	2
pcl	equ	2
status	equ	3
fsr	equ	4
fsr0	equ	4
c	equ	1
z	equ	0
pclath	equ	10
	FNCALL	_main,_GPIO_Init
	FNCALL	_main,_CLR_BANK0_RAM
	FNCALL	_main,_CLR_BANK1_RAM
	FNCALL	_main,_SendDataRF
	FNCALL	_main,_DelayUs
	FNCALL	_SendDataRF,_DelayUs
	FNROOT	_main
	FNCALL	intlevel1,_myIsr
	global	intlevel1
	FNROOT	intlevel1
	global	_romRllingCode
	global	_romRllingCode_absaddr
_romRllingCode_absaddr	set	0x10
	global	_romRllingCode
	global	_romRllingCode_absaddr
_romRllingCode_absaddr	set	0x10
psect	strings,class=STRING,delta=2
global __pstrings
__pstrings:
;	global	stringtab,__stringbase
stringtab:
;	String table - string pointers are 2 bytes each
	btfsc	(btemp+1),7
	ljmp	stringcode
	bcf	status,7
	btfsc	(btemp+1),0
	bsf	status,7
	movf	indf,w
	incf fsr
skipnz
incf btemp+1
	return
stringcode:
	movf btemp+1,w
andlw 7Fh
movwf	pclath
	movf	fsr,w
incf fsr
skipnz
incf btemp+1
	movwf pc
__stringbase:
psect	_romRllingCode_text,class=CODE,delta=2
global __p_romRllingCode_text
__p_romRllingCode_text:
_romRllingCode:
	retlw	010h
	retlw	011h
	retlw	012h
	retlw	013h
	global	_RllingCodeH
psect	nvCOMMON,class=COMMON,space=1
global __pnvCOMMON
__pnvCOMMON:
_RllingCodeH:
       ds      1

	global	_RllingCodeL
_RllingCodeL:
       ds      1

	global	_RllingCodeM
_RllingCodeM:
       ds      1

	global	_FSR
_FSR	set	4
	global	_INDF
_INDF	set	0
	global	_ODCON
_ODCON	set	15
	global	_PDCON
_PDCON	set	14
	global	_PHCON
_PHCON	set	16
	global	_PORTA
_PORTA	set	5
	global	_PORTB
_PORTB	set	6
	global	_FPB0
_FPB0	set	48
	global	_FT0IF
_FT0IF	set	96
	global	_OPTION_REG
_OPTION_REG	set	129
	global	_PADCON
_PADCON	set	147
	global	_PAHCON
_PAHCON	set	146
	global	_PAIC0
_PAIC0	set	144
	global	_PBIC0
_PBIC0	set	145
	global	_PCON
_PCON	set	142
	global	_PDCON2
_PDCON2	set	147
	global	_TRISA
_TRISA	set	133
	global	_TRISB
_TRISB	set	134
	global	_WUCON
_WUCON	set	143
	file	"HS16F1211_RollingCode.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	?_GPIO_Init
?_GPIO_Init:	; 0 bytes @ 0x0
	global	?_CLR_BANK0_RAM
?_CLR_BANK0_RAM:	; 0 bytes @ 0x0
	global	?_CLR_BANK1_RAM
?_CLR_BANK1_RAM:	; 0 bytes @ 0x0
	global	?_SendDataRF
?_SendDataRF:	; 0 bytes @ 0x0
	global	?_DelayUs
?_DelayUs:	; 0 bytes @ 0x0
	global	?_myIsr
?_myIsr:	; 0 bytes @ 0x0
	global	??_myIsr
??_myIsr:	; 0 bytes @ 0x0
	global	?_main
?_main:	; 0 bytes @ 0x0
	ds	2
	global	??_GPIO_Init
??_GPIO_Init:	; 0 bytes @ 0x2
	global	??_CLR_BANK0_RAM
??_CLR_BANK0_RAM:	; 0 bytes @ 0x2
	global	??_CLR_BANK1_RAM
??_CLR_BANK1_RAM:	; 0 bytes @ 0x2
	global	??_DelayUs
??_DelayUs:	; 0 bytes @ 0x2
	global	DelayUs@delayUs
DelayUs@delayUs:	; 1 bytes @ 0x2
	ds	1
	global	??_SendDataRF
??_SendDataRF:	; 0 bytes @ 0x3
	global	SendDataRF@sendData
SendDataRF@sendData:	; 1 bytes @ 0x3
	ds	1
	global	SendDataRF@Cnt
SendDataRF@Cnt:	; 1 bytes @ 0x4
	ds	1
	global	??_main
??_main:	; 0 bytes @ 0x5
;;Data sizes: Strings 0, constant 0, data 0, bss 0, persistent 3 stack 0
;;Auto spaces:   Size  Autos    Used
;; COMMON          14      5       8
;; BANK0           48      0       0

;;
;; Pointer list with targets:



;;
;; Critical Paths under _main in COMMON
;;
;;   _main->_SendDataRF
;;   _SendDataRF->_DelayUs
;;
;; Critical Paths under _myIsr in COMMON
;;
;;   None.
;;
;; Critical Paths under _main in BANK0
;;
;;   None.
;;
;; Critical Paths under _myIsr in BANK0
;;
;;   None.

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

;;
;;Call Graph Tables:
;;
;; ---------------------------------------------------------------------------------
;; (Depth) Function   	        Calls       Base Space   Used Autos Params    Refs
;; ---------------------------------------------------------------------------------
;; (0) _main                                                 0     0      0      75
;;                          _GPIO_Init
;;                      _CLR_BANK0_RAM
;;                      _CLR_BANK1_RAM
;;                         _SendDataRF
;;                            _DelayUs
;; ---------------------------------------------------------------------------------
;; (1) _SendDataRF                                           2     2      0      60
;;                                              3 COMMON     2     2      0
;;                            _DelayUs
;; ---------------------------------------------------------------------------------
;; (1) _DelayUs                                              1     1      0      15
;;                                              2 COMMON     1     1      0
;; ---------------------------------------------------------------------------------
;; (1) _CLR_BANK1_RAM                                        0     0      0       0
;; ---------------------------------------------------------------------------------
;; (1) _CLR_BANK0_RAM                                        0     0      0       0
;; ---------------------------------------------------------------------------------
;; (1) _GPIO_Init                                            0     0      0       0
;; ---------------------------------------------------------------------------------
;; Estimated maximum stack depth 1
;; ---------------------------------------------------------------------------------
;; (Depth) Function   	        Calls       Base Space   Used Autos Params    Refs
;; ---------------------------------------------------------------------------------
;; (3) _myIsr                                                2     2      0       0
;;                                              0 COMMON     2     2      0
;; ---------------------------------------------------------------------------------
;; Estimated maximum stack depth 3
;; ---------------------------------------------------------------------------------

;; Call Graph Graphs:

;; _main (ROOT)
;;   _GPIO_Init
;;   _CLR_BANK0_RAM
;;   _CLR_BANK1_RAM
;;   _SendDataRF
;;     _DelayUs
;;   _DelayUs
;;
;; _myIsr (ROOT)
;;

;; Address spaces:

;;Name               Size   Autos  Total    Cost      Usage
;;BITCOMMON            E      0       0       0        0.0%
;;NULL                 0      0       0       0        0.0%
;;CODE                 0      0       0       0        0.0%
;;COMMON               E      5       8       1       57.1%
;;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       2       2        0.0%
;;ABS                  0      0       8       3        0.0%
;;BITSFR3              0      0       0       4        0.0%
;;SFR3                 0      0       0       4        0.0%
;;DATA                 0      0       A       4        0.0%
;;BITBANK0            30      0       0       5        0.0%
;;BITSFR2              0      0       0       5        0.0%
;;SFR2                 0      0       0       5        0.0%
;;BANK0               30      0       0       6        0.0%

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

;; *************** function _main *****************
;; Defined at:
;;		line 36 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; 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  : 60/0
;;		Unchanged: FFE00/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         0       0
;;      Temps:          0       0
;;      Totals:         0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels required when called:    3
;; This function calls:
;;		_GPIO_Init
;;		_CLR_BANK0_RAM
;;		_CLR_BANK1_RAM
;;		_SendDataRF
;;		_DelayUs
;; This function is called by:
;;		Startup code after reset
;; This function uses a non-reentrant model
;;
psect	maintext
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	36
	global	__size_of_main
	__size_of_main	equ	__end_of_main-_main
	
_main:	
	opt	stack 5
; Regs used in _main: [wreg-fsr0h+status,2+status,0+btemp+1+pclath+cstack]
	line	37
	
l1319:	
;main.c: 37: GPIO_Init();
	fcall	_GPIO_Init
	line	38
	
l1321:	
;main.c: 38: CLR_BANK0_RAM();
	fcall	_CLR_BANK0_RAM
	line	39
	
l1323:	
;main.c: 39: CLR_BANK1_RAM();
	fcall	_CLR_BANK1_RAM
	line	41
	
l1325:	
;main.c: 41: RllingCodeL = romRllingCode[0];
	movlw	low(16|8000h)
	movwf	fsr0
	movlw	high(16|8000h)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	movwf	btemp+1
	fcall	stringtab
	movwf	(_RllingCodeL)
	line	42
	
l1327:	
;main.c: 42: RllingCodeM = romRllingCode[1];
	movlw	low(16|8000h+01h)
	movwf	fsr0
	movlw	high(16|8000h+01h)
	movwf	btemp+1
	fcall	stringtab
	movwf	(_RllingCodeM)
	line	43
	
l1329:	
;main.c: 43: RllingCodeH = romRllingCode[2];
	movlw	low(16|8000h+02h)
	movwf	fsr0
	movlw	high(16|8000h+02h)
	movwf	btemp+1
	fcall	stringtab
	movwf	(_RllingCodeH)
	line	47
	
l1331:	
# 47 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
clrwdt ;#
psect	maintext
	line	48
	
l1333:	
;main.c: 48: PORTA = PORTA^0xff;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	comf	(5),f	;volatile
	line	50
	
l1335:	
;main.c: 50: SendDataRF(0x55);
	movlw	(055h)
	fcall	_SendDataRF
	line	51
	
l1337:	
;main.c: 51: PORTA = PORTA^0xff;
	comf	(5),f	;volatile
	line	52
	
l1339:	
;main.c: 52: SendDataRF(RllingCodeH);
	movf	(_RllingCodeH),w
	fcall	_SendDataRF
	line	53
	
l1341:	
;main.c: 53: PORTA = PORTA^0xff;
	comf	(5),f	;volatile
	line	54
	
l1343:	
;main.c: 54: SendDataRF(RllingCodeM);
	movf	(_RllingCodeM),w
	fcall	_SendDataRF
	line	55
	
l1345:	
;main.c: 55: PORTA = PORTA^0xff;
	comf	(5),f	;volatile
	line	56
	
l1347:	
;main.c: 56: SendDataRF(RllingCodeL);
	movf	(_RllingCodeL),w
	fcall	_SendDataRF
	line	57
	
l1349:	
;main.c: 57: DelayUs(100);
	movlw	(064h)
	fcall	_DelayUs
	goto	l1331
	global	start
	ljmp	start
	opt stack 0
psect	maintext
	line	61
GLOBAL	__end_of_main
	__end_of_main:
;; =============== function _main ends ============

	signat	_main,88
	global	_SendDataRF
psect	text73,local,class=CODE,delta=2
global __ptext73
__ptext73:

;; *************** function _SendDataRF *****************
;; Defined at:
;;		line 68 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
;; Parameters:    Size  Location     Type
;;  sendData        1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  sendData        1    3[COMMON] unsigned char 
;;  Cnt             1    4[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 60/0
;;		On exit  : 60/0
;;		Unchanged: FFE00/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         2       0
;;      Temps:          0       0
;;      Totals:         2       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_DelayUs
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text73
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	68
	global	__size_of_SendDataRF
	__size_of_SendDataRF	equ	__end_of_SendDataRF-_SendDataRF
	
_SendDataRF:	
	opt	stack 5
; Regs used in _SendDataRF: [wreg+status,2+status,0+pclath+cstack]
;SendDataRF@sendData stored from wreg
	line	70
	movwf	(SendDataRF@sendData)
	
l1295:	
# 70 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
clrwdt ;#
psect	text73
	line	71
	
l1297:	
;main.c: 71: for(Cnt = 0; Cnt < 8; Cnt++)
	clrf	(SendDataRF@Cnt)
	line	72
	
l857:	
	line	73
;main.c: 72: {
;main.c: 73: if(sendData & 0x80)
	btfss	(SendDataRF@sendData),(7)&7
	goto	u31
	goto	u30
u31:
	goto	l859
u30:
	line	75
	
l1303:	
;main.c: 74: {
;main.c: 75: FPB0 = 1;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(48/8),(48)&7
	line	76
	
l1305:	
;main.c: 76: DelayUs(5*4);
	movlw	(014h)
	fcall	_DelayUs
	line	77
	
l1307:	
;main.c: 77: FPB0 = 0;
	bcf	(48/8),(48)&7
	line	78
;main.c: 78: DelayUs(5);
	movlw	(05h)
	fcall	_DelayUs
	line	79
;main.c: 79: }
	goto	l1313
	line	80
	
l859:	
	line	82
;main.c: 80: else
;main.c: 81: {
;main.c: 82: FPB0 = 1;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(48/8),(48)&7
	line	83
	
l1309:	
;main.c: 83: DelayUs(5);
	movlw	(05h)
	fcall	_DelayUs
	line	84
	
l1311:	
;main.c: 84: FPB0 = 0;
	bcf	(48/8),(48)&7
	line	85
;main.c: 85: DelayUs(5*4);
	movlw	(014h)
	fcall	_DelayUs
	line	87
	
l1313:	
;main.c: 86: }
;main.c: 87: sendData = sendData<<1;
	clrc
	rlf	(SendDataRF@sendData),f
	line	71
	
l1315:	
	incf	(SendDataRF@Cnt),f
	
l1317:	
	movlw	(08h)
	subwf	(SendDataRF@Cnt),w
	skipc
	goto	u41
	goto	u40
u41:
	goto	l857
u40:
	line	89
	
l861:	
	return
	opt stack 0
GLOBAL	__end_of_SendDataRF
	__end_of_SendDataRF:
;; =============== function _SendDataRF ends ============

	signat	_SendDataRF,4216
	global	_DelayUs
psect	text74,local,class=CODE,delta=2
global __ptext74
__ptext74:

;; *************** function _DelayUs *****************
;; Defined at:
;;		line 229 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
;; Parameters:    Size  Location     Type
;;  delayUs         1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  delayUs         1    2[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0
;; Tracked objects:
;;		On entry : 60/0
;;		On exit  : 60/0
;;		Unchanged: FFF9F/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         1       0
;;      Temps:          0       0
;;      Totals:         1       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;;		_SendDataRF
;; This function uses a non-reentrant model
;;
psect	text74
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	229
	global	__size_of_DelayUs
	__size_of_DelayUs	equ	__end_of_DelayUs-_DelayUs
	
_DelayUs:	
	opt	stack 6
; Regs used in _DelayUs: [wreg+status,2+status,0]
;DelayUs@delayUs stored from wreg
	movwf	(DelayUs@delayUs)
	line	230
	
l1291:	
;main.c: 230: while(delayUs--);
	
l1293:	
	decf	(DelayUs@delayUs),f
	movf	((DelayUs@delayUs)),w
	xorlw	0FFh
	skipz
	goto	u21
	goto	u20
u21:
	goto	l1293
u20:
	line	231
	
l888:	
	return
	opt stack 0
GLOBAL	__end_of_DelayUs
	__end_of_DelayUs:
;; =============== function _DelayUs ends ============

	signat	_DelayUs,4216
	global	_CLR_BANK1_RAM
psect	text75,local,class=CODE,delta=2
global __ptext75
__ptext75:

;; *************** function _CLR_BANK1_RAM *****************
;; Defined at:
;;		line 209 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.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: FFE00/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         0       0
;;      Temps:          0       0
;;      Totals:         0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text75
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	209
	global	__size_of_CLR_BANK1_RAM
	__size_of_CLR_BANK1_RAM	equ	__end_of_CLR_BANK1_RAM-_CLR_BANK1_RAM
	
_CLR_BANK1_RAM:	
	opt	stack 6
; Regs used in _CLR_BANK1_RAM: []
	line	211
	
l1289:	
# 211 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVLW (0x80 | 03FH) ;#
	line	212
# 212 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVWF _FSR ;#
	line	213
# 213 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVLW 020H ;#
	line	214
# 214 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVWF 020H ;#
	line	216
# 216 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 BANK1_RAM_CLR_LOOP: ;#
	line	217
# 217 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 CLRF _INDF ;#
	line	218
# 218 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 DECF _FSR,F ;#
	line	219
# 219 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 DECFSZ 020H,F ;#
	line	220
# 220 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 GOTO BANK1_RAM_CLR_LOOP ;#
	line	221
# 221 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 RETURN ;#
psect	text75
	line	223
	
l882:	
	return
	opt stack 0
GLOBAL	__end_of_CLR_BANK1_RAM
	__end_of_CLR_BANK1_RAM:
;; =============== function _CLR_BANK1_RAM ends ============

	signat	_CLR_BANK1_RAM,88
	global	_CLR_BANK0_RAM
psect	text76,local,class=CODE,delta=2
global __ptext76
__ptext76:

;; *************** function _CLR_BANK0_RAM *****************
;; Defined at:
;;		line 188 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.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 : 17F/0
;;		On exit  : 0/0
;;		Unchanged: FFE00/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         0       0
;;      Temps:          0       0
;;      Totals:         0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text76
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	188
	global	__size_of_CLR_BANK0_RAM
	__size_of_CLR_BANK0_RAM	equ	__end_of_CLR_BANK0_RAM-_CLR_BANK0_RAM
	
_CLR_BANK0_RAM:	
	opt	stack 6
; Regs used in _CLR_BANK0_RAM: []
	line	190
	
l1287:	
# 190 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVLW 0X5F ;#
	line	191
# 191 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVWF 020H ;#
	line	192
# 192 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVLW 0X7F ;#
	line	193
# 193 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 MOVWF _FSR ;#
	line	195
# 195 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 BANK0_RAM_CLR_LOOP: ;#
	line	196
# 196 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 CLRF _INDF ;#
	line	197
# 197 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 DECF _FSR,F ;#
	line	198
# 198 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 DECFSZ 020H,F ;#
	line	199
# 199 "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
 GOTO BANK0_RAM_CLR_LOOP ;#
psect	text76
	line	201
	
l879:	
	return
	opt stack 0
GLOBAL	__end_of_CLR_BANK0_RAM
	__end_of_CLR_BANK0_RAM:
;; =============== function _CLR_BANK0_RAM ends ============

	signat	_CLR_BANK0_RAM,88
	global	_GPIO_Init
psect	text77,local,class=CODE,delta=2
global __ptext77
__ptext77:

;; *************** function _GPIO_Init *****************
;; Defined at:
;;		line 149 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.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 : 17F/0
;;		On exit  : 17F/0
;;		Unchanged: FFE80/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         0       0
;;      Temps:          0       0
;;      Totals:         0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text77
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	149
	global	__size_of_GPIO_Init
	__size_of_GPIO_Init	equ	__end_of_GPIO_Init-_GPIO_Init
	
_GPIO_Init:	
	opt	stack 6
; Regs used in _GPIO_Init: [wreg+status,2]
	line	150
	
l1261:	
;main.c: 150: OPTION_REG= 0b000000000;
	bsf	status, 5	;RP0=1, select bank1
	clrf	(129)^080h	;volatile
	line	158
	
l1263:	
;main.c: 158: PCON = 0b00100000;
	movlw	(020h)
	movwf	(142)^080h	;volatile
	line	164
	
l1265:	
;main.c: 164: PORTA = 0b00000000;
	bcf	status, 5	;RP0=0, select bank0
	clrf	(5)	;volatile
	line	165
	
l1267:	
;main.c: 165: TRISA = 0b00000000;
	bsf	status, 5	;RP0=1, select bank1
	clrf	(133)^080h	;volatile
	line	166
	
l1269:	
;main.c: 166: PAHCON= 0b11111111;
	movlw	(0FFh)
	movwf	(146)^080h	;volatile
	line	167
	
l1271:	
;main.c: 167: PADCON= 0b11111111;
	movlw	(0FFh)
	movwf	(147)^080h	;volatile
	line	168
	
l1273:	
;main.c: 168: PAIC0 = 0b00000000;
	clrf	(144)^080h	;volatile
	line	170
;main.c: 170: PDCON = 0b11111111;
	movlw	(0FFh)
	bcf	status, 5	;RP0=0, select bank0
	movwf	(14)	;volatile
	line	171
;main.c: 171: PDCON2= 0b11111111;
	movlw	(0FFh)
	bsf	status, 5	;RP0=1, select bank1
	movwf	(147)^080h	;volatile
	line	173
	
l1275:	
;main.c: 173: PORTB = 0b00000000;
	bcf	status, 5	;RP0=0, select bank0
	clrf	(6)	;volatile
	line	174
	
l1277:	
;main.c: 174: TRISB = 0b00000000;
	bsf	status, 5	;RP0=1, select bank1
	clrf	(134)^080h	;volatile
	line	175
	
l1279:	
;main.c: 175: PBIC0 = 0b00000000;
	clrf	(145)^080h	;volatile
	line	176
	
l1281:	
;main.c: 176: WUCON = 0b00000000;
	clrf	(143)^080h	;volatile
	line	177
	
l1283:	
;main.c: 177: ODCON = 0b00000000;
	bcf	status, 5	;RP0=0, select bank0
	clrf	(15)	;volatile
	line	178
	
l1285:	
;main.c: 178: PHCON = 0b11111111;
	movlw	(0FFh)
	movwf	(16)	;volatile
	line	180
	
l876:	
	return
	opt stack 0
GLOBAL	__end_of_GPIO_Init
	__end_of_GPIO_Init:
;; =============== function _GPIO_Init ends ============

	signat	_GPIO_Init,88
	global	_myIsr
psect	text78,local,class=CODE,delta=2
global __ptext78
__ptext78:

;; *************** function _myIsr *****************
;; Defined at:
;;		line 24 in file "E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.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  : 60/0
;;		Unchanged: FFF9F/0
;; Data sizes:     COMMON   BANK0
;;      Params:         0       0
;;      Locals:         0       0
;;      Temps:          2       0
;;      Totals:         2       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		Interrupt level 1
;; This function uses a non-reentrant model
;;
psect	text78
	file	"E:\02-HS-DemoCode-Every\C_Code\HS16F1211_cCode\HS16F1211_RollingCode\main.c"
	line	24
	global	__size_of_myIsr
	__size_of_myIsr	equ	__end_of_myIsr-_myIsr
	
_myIsr:	
	opt	stack 5
; Regs used in _myIsr: []
psect	intentry,class=CODE,delta=2
global __pintentry
__pintentry:
global interrupt_function
interrupt_function:
	global saved_w
	saved_w	set	btemp+0
	movwf	saved_w
	swapf	status,w
	movwf	(??_myIsr+0)
	movf	pclath,w
	movwf	(??_myIsr+1)
	ljmp	_myIsr
psect	text78
	line	25
	
i1l1257:	
;main.c: 25: if(FT0IF)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfss	(96/8),(96)&7
	goto	u1_21
	goto	u1_20
u1_21:
	goto	i1l848
u1_20:
	line	27
	
i1l1259:	
;main.c: 26: {
;main.c: 27: FT0IF = 0;
	bcf	(96/8),(96)&7
	line	29
	
i1l848:	
	movf	(??_myIsr+1),w
	movwf	pclath
	swapf	(??_myIsr+0)^0FFFFFF80h,w
	movwf	status
	swapf	saved_w,f
	swapf	saved_w,w
	retfie
	opt stack 0
GLOBAL	__end_of_myIsr
	__end_of_myIsr:
;; =============== function _myIsr ends ============

	signat	_myIsr,88
psect	text79,local,class=CODE,delta=2
global __ptext79
__ptext79:
	global	btemp
	btemp set 07Eh

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