
_main:

;MyProject.c,22 :: 		void main()   {
;MyProject.c,23 :: 		TRISB = 0x00;
	CLRF       TRISB+0
;MyProject.c,24 :: 		TRISD = 0x00;
	CLRF       TRISD+0
;MyProject.c,26 :: 		lcd_out(1,1,"Iman Abu-Ayysh");
	MOVLW      1
	MOVWF      FARG_Lcd_Out_row+0
	MOVLW      1
	MOVWF      FARG_Lcd_Out_column+0
	MOVLW      ?lstr1_MyProject+0
	MOVWF      FARG_Lcd_Out_text+0
	CALL       _Lcd_Out+0
;MyProject.c,27 :: 		lcd_out(2,1,"1111568");
	MOVLW      2
	MOVWF      FARG_Lcd_Out_row+0
	MOVLW      1
	MOVWF      FARG_Lcd_Out_column+0
	MOVLW      ?lstr2_MyProject+0
	MOVWF      FARG_Lcd_Out_text+0
	CALL       _Lcd_Out+0
;MyProject.c,28 :: 		delay_ms(5000);
	MOVLW      26
	MOVWF      R11+0
	MOVLW      94
	MOVWF      R12+0
	MOVLW      110
	MOVWF      R13+0
L_main2:
	DECFSZ     R13+0, 1
	GOTO       L_main2
	DECFSZ     R12+0, 1
	GOTO       L_main2
	DECFSZ     R11+0, 1
	GOTO       L_main2
	NOP
;MyProject.c,29 :: 		lcd_cmd(_lcd_clear);
	MOVLW      1
	MOVWF      FARG_Lcd_Cmd_out_char+0
	CALL       _Lcd_Cmd+0
;MyProject.c,30 :: 		while(1){
L_main3:
;MyProject.c,31 :: 		if(portd.b0=1){ if(portd.b1=1) {
	BSF        PORTD+0, 0
	BTFSS      PORTD+0, 0
	GOTO       L_main5
	BSF        PORTD+0, 1
	BTFSS      PORTD+0, 1
	GOTO       L_main6
;MyProject.c,32 :: 		portc=1;
	MOVLW      1
	MOVWF      PORTC+0
;MyProject.c,33 :: 		TRISc=0;
	CLRF       TRISC+0
;MyProject.c,34 :: 		pwm1_init(1000);
	BSF        T2CON+0, 0
	BCF        T2CON+0, 1
	MOVLW      249
	MOVWF      PR2+0
	CALL       _PWM1_Init+0
;MyProject.c,35 :: 		pwm1_start();
	CALL       _PWM1_Start+0
;MyProject.c,36 :: 		portd.b3=1 ;
	BSF        PORTD+0, 3
;MyProject.c,37 :: 		while(1){
L_main7:
;MyProject.c,38 :: 		pwm1_set_duty(225);
	MOVLW      225
	MOVWF      FARG_PWM1_Set_Duty_new_duty+0
	CALL       _PWM1_Set_Duty+0
;MyProject.c,39 :: 		delay_ms(200);}
	MOVLW      2
	MOVWF      R11+0
	MOVLW      4
	MOVWF      R12+0
	MOVLW      186
	MOVWF      R13+0
L_main9:
	DECFSZ     R13+0, 1
	GOTO       L_main9
	DECFSZ     R12+0, 1
	GOTO       L_main9
	DECFSZ     R11+0, 1
	GOTO       L_main9
	NOP
	GOTO       L_main7
;MyProject.c,49 :: 		pwm2_set_duty(225);
	MOVLW      225
	MOVWF      FARG_PWM2_Set_Duty_new_duty+0
	CALL       _PWM2_Set_Duty+0
;MyProject.c,50 :: 		delay_ms(200);}
	MOVLW      2
	MOVWF      R11+0
	MOVLW      4
	MOVWF      R12+0
	MOVLW      186
	MOVWF      R13+0
L_main13:
	DECFSZ     R13+0, 1
	GOTO       L_main13
	DECFSZ     R12+0, 1
	GOTO       L_main13
	DECFSZ     R11+0, 1
	GOTO       L_main13
	NOP
	GOTO       L_main11
;MyProject.c,53 :: 		}}}}}}
L_main6:
L_main5:
	GOTO       L_main3
L_end_main:
	GOTO       $+0
; end of _main
