
_main:

;Relay_Sequence.c,6 :: 		void main() {
;Relay_Sequence.c,7 :: 		OSCCON = 0b01110000; //8MHz
	MOVLW       112
	MOVWF       OSCCON+0 
;Relay_Sequence.c,8 :: 		PLLEN_bit = 1; //Enable PLL (now 48MHz)
	BSF         PLLEN_bit+0, BitPos(PLLEN_bit+0) 
;Relay_Sequence.c,9 :: 		TRISD = 0b00000000; //PortD all outputs
	CLRF        TRISD+0 
;Relay_Sequence.c,10 :: 		LATD = 0b00000000; // PortD all off
	CLRF        LATD+0 
;Relay_Sequence.c,11 :: 		while (1) {
L_main0:
;Relay_Sequence.c,12 :: 		LATD = LATD << 1; // Bitshift
	MOVF        LATD+0, 0 
	MOVWF       R0 
	RLCF        R0, 1 
	BCF         R0, 0 
	MOVF        R0, 0 
	MOVWF       LATD+0 
;Relay_Sequence.c,13 :: 		if (LATD == 0) {
	MOVF        LATD+0, 0 
	XORLW       0
	BTFSS       STATUS+0, 2 
	GOTO        L_main2
;Relay_Sequence.c,14 :: 		LATD = 1;
	MOVLW       1
	MOVWF       LATD+0 
;Relay_Sequence.c,15 :: 		}
L_main2:
;Relay_Sequence.c,16 :: 		delay_ms(500);
	MOVLW       31
	MOVWF       R11, 0
	MOVLW       113
	MOVWF       R12, 0
	MOVLW       30
	MOVWF       R13, 0
L_main3:
	DECFSZ      R13, 1, 1
	BRA         L_main3
	DECFSZ      R12, 1, 1
	BRA         L_main3
	DECFSZ      R11, 1, 1
	BRA         L_main3
	NOP
;Relay_Sequence.c,17 :: 		}
	GOTO        L_main0
;Relay_Sequence.c,18 :: 		}
L_end_main:
	GOTO        $+0
; end of _main
