diff code_part1/OSTC_code_asm_part1/start.asm @ 359:91352bb698cf

Oups... time to sleep !
author JeanDo
date Tue, 07 Jun 2011 19:10:49 +0200
parents 797e2ac42d24
children 64da813d4726
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Tue Jun 07 11:55:31 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Tue Jun 07 19:10:49 2011 +0200
@@ -39,7 +39,7 @@
 	call	PLED_resetdebugger		; Yes! Something went wrong, show reset informations
 start3:
 	clrf	STKPTR					; Clear Stackpointer
-	lfsr	FSR0, 10Bh				; Clear rambank 1-9, do not delete RTC registers
+	lfsr	FSR0,year+1				; Clear rambank 1-9, do not delete RTC registers
 clear_rambank:
 	clrf	POSTINC0
 	movlw	0x0A