Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/MAIN.ASM @ 760:e16e636def61
2.74 release
author | heinrichsweikamp |
---|---|
date | Sun, 01 Dec 2013 10:33:12 +0100 |
parents | d68c6a6b1f38 |
children | c50296c3059e |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/MAIN.ASM Sat Nov 30 20:41:43 2013 +0100 +++ b/code_part1/OSTC_code_asm_part1/MAIN.ASM Sun Dec 01 10:33:12 2013 +0100 @@ -47,21 +47,21 @@ movf PORTB,W ; move portb into latch register - btfsc PIR1,TMR1IF ; Timer1 INT (external 32.768kHz Clock) - call timer1int - btfsc INTCON,TMR0IF ; Timer0 INT (Debounce Timer) call timer0int - btfsc PIR1,RCIF ; UART - call uartint - btfsc INTCON,INT0IF ; Switch left call switch_left_int btfsc INTCON3,INT1IF ; switch right call switch_right_int + btfsc PIR1,TMR1IF ; Timer1 INT (external 32.768kHz Clock) + call timer1int + + btfsc PIR1,RCIF ; UART + call uartint + movff prod_temp+1,PRODH movff prod_temp+0,PRODL retfie FAST