Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/MAIN.ASM @ 378:51baf8777b73 64kByte Logbook
testing, removing unused stuff
author | heinrichsweikamp |
---|---|
date | Mon, 13 Jun 2011 11:29:37 +0200 |
parents | be71e563ac09 |
children | 69f1f3a1c645 |
comparison
equal
deleted
inserted
replaced
377:be71e563ac09 | 378:51baf8777b73 |
---|---|
65 btfsc INTCON,INT0IF ; Switch left | 65 btfsc INTCON,INT0IF ; Switch left |
66 call switch_left_int | 66 call switch_left_int |
67 | 67 |
68 btfsc INTCON3,INT1IF ; switch right | 68 btfsc INTCON3,INT1IF ; switch right |
69 call switch_right_int | 69 call switch_right_int |
70 | |
71 ; Test for race condition | |
72 btfsc PIR1,TMR1IF ;Timer1 INT (external 32.768kHz Clock) | |
73 call timer1int | |
74 | 70 |
75 movff prod_temp+1,PRODH | 71 movff prod_temp+1,PRODH |
76 movff prod_temp+0,PRODL | 72 movff prod_temp+0,PRODL |
77 movff wreg_temp,WREG ;restore working register | 73 movff wreg_temp,WREG ;restore working register |
78 movff status_temp,STATUS ;restore STATUS register | 74 movff status_temp,STATUS ;restore STATUS register |