Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/start.asm @ 235:ade0848c8b8b
New runtime asserts when compiled in DEBUG more.
When __DEBUG is defined, the assert() calls are checked, and PLED_resetdebugger is called when the condition fails.
author | JeanDo |
---|---|
date | Sat, 19 Mar 2011 11:34:32 +0100 |
parents | 2cbaa01dac26 |
children | 3dbeacf42e9e |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Thu Mar 17 18:32:16 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/start.asm Sat Mar 19 11:34:32 2011 +0100 @@ -25,6 +25,8 @@ start: movlb b'00000001' ; ram bank 1 selected movff STKPTR,temp10 + clrf temp10+1 + call init btfsc divemode ; Reset from Divemode? call PLED_resetdebugger ; Yes! Something went wrong, show reset informations