;/////////////////////////////////////////////////////////////////////////////////
;// Code Generator: BoostC Compiler - http://www.sourceboost.com
;// Version : 6.60
;// License Type : Pro License
;// Limitations : PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
;/////////////////////////////////////////////////////////////////////////////////
include "P16F88.inc"
; Heap block 0, size:112 (0x00000110 - 0x0000017F)
__HEAP_BLOCK0_BANK EQU 0x00000002
__HEAP_BLOCK0_START_OFFSET EQU 0x00000010
__HEAP_BLOCK0_END_OFFSET EQU 0x0000007F
; Heap block 1, size:96 (0x00000190 - 0x000001EF)
__HEAP_BLOCK1_BANK EQU 0x00000003
__HEAP_BLOCK1_START_OFFSET EQU 0x00000010
__HEAP_BLOCK1_END_OFFSET EQU 0x0000006F
; Heap block 2, size:80 (0x000000A0 - 0x000000EF)
__HEAP_BLOCK2_BANK EQU 0x00000001
__HEAP_BLOCK2_START_OFFSET EQU 0x00000020
__HEAP_BLOCK2_END_OFFSET EQU 0x0000006F
; Heap block 3, size:79 (0x00000021 - 0x0000006F)
__HEAP_BLOCK3_BANK EQU 0x00000000
__HEAP_BLOCK3_START_OFFSET EQU 0x00000021
__HEAP_BLOCK3_END_OFFSET EQU 0x0000006F
CompGblVar12 EQU 0x00000020 ; bit:0
CompGblVar13 EQU 0x00000020 ; bit:1
gbl_status EQU 0x00000003 ; bytes:1
gbl_indf EQU 0x00000000 ; bytes:1
gbl_tmr0 EQU 0x00000001 ; bytes:1
gbl_pcl EQU 0x00000002 ; bytes:1
gbl_fsr EQU 0x00000004 ; bytes:1
gbl_porta EQU 0x00000005 ; bytes:1
gbl_portb EQU 0x00000006 ; bytes:1
gbl_pclath EQU 0x0000000A ; bytes:1
gbl_intcon EQU 0x0000000B ; bytes:1
gbl_pir1 EQU 0x0000000C ; bytes:1
gbl_pir2 EQU 0x0000000D ; bytes:1
gbl_tmr1l EQU 0x0000000E ; bytes:1
gbl_tmr1h EQU 0x0000000F ; bytes:1
gbl_t1con EQU 0x00000010 ; bytes:1
gbl_tmr2 EQU 0x00000011 ; bytes:1
gbl_t2con EQU 0x00000012 ; bytes:1
gbl_sspbuf EQU 0x00000013 ; bytes:1
gbl_sspcon EQU 0x00000014 ; bytes:1
gbl_ccpr1l EQU 0x00000015 ; bytes:1
gbl_ccpr1h EQU 0x00000016 ; bytes:1
gbl_ccp1con EQU 0x00000017 ; bytes:1
gbl_rcsta EQU 0x00000018 ; bytes:1
gbl_txreg EQU 0x00000019 ; bytes:1
gbl_rcreg EQU 0x0000001A ; bytes:1
gbl_adresh EQU 0x0000001E ; bytes:1
gbl_adcon0 EQU 0x0000001F ; bytes:1
gbl_option_reg EQU 0x00000081 ; bytes:1
gbl_trisa EQU 0x00000085 ; bytes:1
gbl_trisb EQU 0x00000086 ; bytes:1
gbl_pie1 EQU 0x0000008C ; bytes:1
gbl_pie2 EQU 0x0000008D ; bytes:1
gbl_pcon EQU 0x0000008E ; bytes:1
gbl_osccon EQU 0x0000008F ; bytes:1
gbl_osctune EQU 0x00000090 ; bytes:1
gbl_pr2 EQU 0x00000092 ; bytes:1
gbl_sspadd EQU 0x00000093 ; bytes:1
gbl_sspstat EQU 0x00000094 ; bytes:1
gbl_txsta EQU 0x00000098 ; bytes:1
gbl_spbrg EQU 0x00000099 ; bytes:1
gbl_ansel EQU 0x0000009B ; bytes:1
gbl_cmcon EQU 0x0000009C ; bytes:1
gbl_cvrcon EQU 0x0000009D ; bytes:1
gbl_adresl EQU 0x0000009E ; bytes:1
gbl_adcon1 EQU 0x0000009F ; bytes:1
gbl_wdtcon EQU 0x00000105 ; bytes:1
gbl_eedata EQU 0x0000010C ; bytes:1
gbl_eeadr EQU 0x0000010D ; bytes:1
gbl_eedath EQU 0x0000010E ; bytes:1
gbl_eeadrh EQU 0x0000010F ; bytes:1
gbl_eecon1 EQU 0x0000018C ; bytes:1
gbl_eecon2 EQU 0x0000018D ; bytes:1
gbl_iCLK EQU 0x00000005 ; bit:2
gbl_pCLK EQU 0x00000020 ; bit:2
gbl_oCLK EQU 0x00000006 ; bit:1
ORG 0x00000000
GOTO _startup
ORG 0x00000003
main
; { main ; function begin
BCF STATUS, RP0
BCF STATUS, RP1
CLRF gbl_portb
BSF STATUS, RP0
CLRF gbl_trisb
BCF STATUS, RP0
CLRF gbl_porta
MOVLW 0xFF
BSF STATUS, RP0
MOVWF gbl_trisa
MOVLW 0x70
MOVWF gbl_osccon
MOVLW 0x07
MOVWF gbl_cmcon
MOVLW 0x01
MOVWF gbl_ansel
BCF STATUS, RP0
BCF gbl_pCLK,2
BTFSC gbl_iCLK,2
BSF gbl_pCLK,2
BCF gbl_oCLK,1
BTFSC gbl_iCLK,2
BSF gbl_oCLK,1
label4026532599
MOVLW 0x00
BTFSC gbl_pCLK,2
XORLW 0x01
BTFSC gbl_iCLK,2
XORLW 0x01
ANDLW 0xFF
BTFSC STATUS,Z
GOTO label4026532599
BCF gbl_pCLK,2
BTFSC gbl_iCLK,2
BSF gbl_pCLK,2
BCF gbl_oCLK,1
BTFSC gbl_pCLK,2
BSF gbl_oCLK,1
GOTO label4026532599
; } main function end
ORG 0x00000029
_startup
BCF STATUS, RP0
BCF STATUS, RP1
BCF CompGblVar12,0
BCF CompGblVar13,1
BCF PCLATH,3
BCF PCLATH,4
GOTO main
ORG 0x00002007
DW 0x1F10
END