
_main:

;MyProject.c,1 :: 		void main() {
;MyProject.c,2 :: 		trisb =0;
	CLRF       TRISB+0
;MyProject.c,3 :: 		trisd=255;
	MOVLW      255
	MOVWF      TRISD+0
;MyProject.c,4 :: 		portd=0;
	CLRF       PORTD+0
;MyProject.c,5 :: 		portb=0;
	CLRF       PORTB+0
;MyProject.c,7 :: 		while(1){
L_main0:
;MyProject.c,8 :: 		if(portd.b0=1){
	BSF        PORTD+0, 0
	BTFSS      PORTD+0, 0
	GOTO       L_main2
;MyProject.c,9 :: 		portb.b0=1;
	BSF        PORTB+0, 0
;MyProject.c,10 :: 		portb.b1=1;
	BSF        PORTB+0, 1
;MyProject.c,11 :: 		portb.b2=1;
	BSF        PORTB+0, 2
;MyProject.c,12 :: 		delay_ms(250);
	MOVLW      2
	MOVWF      R11+0
	MOVLW      69
	MOVWF      R12+0
	MOVLW      169
	MOVWF      R13+0
L_main3:
	DECFSZ     R13+0, 1
	GOTO       L_main3
	DECFSZ     R12+0, 1
	GOTO       L_main3
	DECFSZ     R11+0, 1
	GOTO       L_main3
	NOP
	NOP
;MyProject.c,13 :: 		portb=0;
	CLRF       PORTB+0
;MyProject.c,14 :: 		}
L_main2:
;MyProject.c,15 :: 		}
	GOTO       L_main0
;MyProject.c,16 :: 		}
L_end_main:
	GOTO       $+0
; end of _main
