changeset 553:97b11ff4bcea

minor cleanup
author heinrichsweikamp
date Tue, 07 Feb 2012 13:26:41 +0100
parents 44e9b961f156
children 896b6346ccd2
files code_part1/OSTC_code_asm_part1/MAIN.ASM
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/MAIN.ASM	Sat Feb 04 18:23:36 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/MAIN.ASM	Tue Feb 07 13:26:41 2012 +0100
@@ -41,19 +41,16 @@
 		bra		HighInt						;High Priority Interrups
 
 HighInt:
-;		movff	BSR,0x102					;save BSR register
-;		movff	STATUS,status_temp			;save STATUS register
-;		movff	WREG,wreg_temp				;save working register
 		movlb	b'00000001'					;select Bank1
 		movff   PRODL,prod_temp+0
 		movff   PRODH,prod_temp+1
 
-		movf	PORTB,W						;move portb into latch register
+		movf	PORTB,W						; move portb into latch register
 
-		btfsc	PIR1,TMR1IF					;Timer1 INT (external 32.768kHz Clock)
+		btfsc	PIR1,TMR1IF					; Timer1 INT (external 32.768kHz Clock)
 		call	timer1int
 
-		btfsc	INTCON,TMR0IF				;Timer0 INT (Debounce Timer)
+		btfsc	INTCON,TMR0IF				; Timer0 INT (Debounce Timer)
 		call	timer0int
 
 		btfsc	PIR1,RCIF					; UART
@@ -67,9 +64,6 @@
 
 		movff   prod_temp+1,PRODH
 		movff   prod_temp+0,PRODL
-;		movff	wreg_temp,WREG				;restore working register
-;		movff	status_temp,STATUS			;restore STATUS register
-;		movff	0x102,BSR					;restore BSR register
 		retfie FAST
 
 ;=============================================================================