comparison code_part1/OSTC_code_asm_part1/start.asm @ 119:f24137eb85de

Background debugger now shows STKPTR
author heinrichsweikamp
date Sun, 26 Dec 2010 18:34:28 +0100
parents 14a074e1a375
children e6aa4a74c3c2
comparison
equal deleted inserted replaced
118:a5eacfafd37f 119:f24137eb85de
22 ; known bugs: 22 ; known bugs:
23 ; ToDo: 23 ; ToDo:
24 24
25 start: 25 start:
26 movlb b'00000001' ; ram bank 1 selected 26 movlb b'00000001' ; ram bank 1 selected
27 movff STKPTR,temp10
27 call init 28 call init
28 btfsc divemode ; Reset from Divemode? 29 btfsc divemode ; Reset from Divemode?
29 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations 30 call PLED_resetdebugger ; Yes! Something went wrong, show reset informations
30 31
31 clrf STKPTR ; Clear Stackpointer 32 clrf STKPTR ; Clear Stackpointer