comparison code_part1/OSTC_code_asm_part1/start.asm @ 363:93a64a19728e 64kByte Logbook

small typo...
author Heinrichsweikamp
date Wed, 08 Jun 2011 19:55:16 +0200
parents 64da813d4726
children ca3d15e6240e
comparison
equal deleted inserted replaced
362:64da813d4726 363:93a64a19728e
38 btfsc divemode ; Reset from Divemode? 38 btfsc divemode ; Reset from Divemode?
39 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations 39 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations
40 start3: 40 start3:
41 clrf STKPTR ; Clear Stackpointer 41 clrf STKPTR ; Clear Stackpointer
42 lfsr FSR0,year+1 ; Clear rambank 1-9, do not delete RTC registers 42 lfsr FSR0,year+1 ; Clear rambank 1-9, do not delete RTC registers
43 delete RTC registers
44 clear_rambank: 43 clear_rambank:
45 clrf POSTINC0 44 clrf POSTINC0
46 movlw 0x0A 45 movlw 0x0A
47 cpfseq FSR0H ; Bank 9 done? 46 cpfseq FSR0H ; Bank 9 done?
48 bra clear_rambank ; clear... 47 bra clear_rambank ; clear...