Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/start.asm @ 98:6f8e3a08011e
1.73beta rc1 (Added new customview for divemode)
author | heinrichsweikamp |
---|---|
date | Sun, 12 Dec 2010 15:01:05 +0100 |
parents | dc349e4264bb |
children | b13ace8d052f 14a074e1a375 |
comparison
equal
deleted
inserted
replaced
97:dc349e4264bb | 98:6f8e3a08011e |
---|---|
27 call init | 27 call init |
28 btfsc divemode ; Reset from Divemode? | 28 btfsc divemode ; Reset from Divemode? |
29 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations | 29 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations |
30 | 30 |
31 clrf STKPTR ; Clear Stackpointer | 31 clrf STKPTR ; Clear Stackpointer |
32 lfsr FSR0, 109h ; Clear rambank 1-9, do not delete RTC registers | 32 lfsr FSR0, 10Bh ; Clear rambank 1-9, do not delete RTC registers |
33 clear_rambank: | 33 clear_rambank: |
34 clrf POSTINC0 | 34 clrf POSTINC0 |
35 movlw 0x0A | 35 movlw 0x0A |
36 cpfseq FSR0H ; Bank 9 done? | 36 cpfseq FSR0H ; Bank 9 done? |
37 bra clear_rambank ; clear... | 37 bra clear_rambank ; clear... |