
_main:

;MyProject.c,3 :: 		void main()
;MyProject.c,5 :: 		trisB0_bit=0;
	BCF        TRISB0_bit+0, 0
;MyProject.c,6 :: 		trisB7_bit=1;
	BSF        TRISB7_bit+0, 7
;MyProject.c,7 :: 		OPTION_REG.F7=0;
	BCF        OPTION_REG+0, 7
;MyProject.c,8 :: 		for(;;)
L_main0:
;MyProject.c,10 :: 		if(button(&portb,7,1,0))
	MOVLW      PORTB+0
	MOVWF      FARG_Button_port+0
	MOVLW      7
	MOVWF      FARG_Button_pin+0
	MOVLW      1
	MOVWF      FARG_Button_time_ms+0
	CLRF       FARG_Button_active_state+0
	CALL       _Button+0
	MOVF       R0+0, 0
	BTFSC      STATUS+0, 2
	GOTO       L_main3
;MyProject.c,12 :: 		while (button(&portb,7,1,0))
L_main4:
	MOVLW      PORTB+0
	MOVWF      FARG_Button_port+0
	MOVLW      7
	MOVWF      FARG_Button_pin+0
	MOVLW      1
	MOVWF      FARG_Button_time_ms+0
	CLRF       FARG_Button_active_state+0
	CALL       _Button+0
	MOVF       R0+0, 0
	BTFSC      STATUS+0, 2
	GOTO       L_main5
;MyProject.c,14 :: 		delay_ms(20);
	MOVLW      52
	MOVWF      R12+0
	MOVLW      241
	MOVWF      R13+0
L_main6:
	DECFSZ     R13+0, 1
	GOTO       L_main6
	DECFSZ     R12+0, 1
	GOTO       L_main6
	NOP
	NOP
;MyProject.c,15 :: 		}
	GOTO       L_main4
L_main5:
;MyProject.c,17 :: 		}}}
L_main3:
	GOTO       L_main0
L_end_main:
	GOTO       $+0
; end of _main
