X-Git-Url: http://cloudbase.mooo.com/gitweb/avrcpm.git/blobdiff_plain/bca3519feec5ea8f69df660c8f2296d67246b63e..a8cde371bfde7e3b77ecad8b3935cfe972125ea7:/avr/init.asm diff --git a/avr/init.asm b/avr/init.asm index c75227d..dcc9459 100644 --- a/avr/init.asm +++ b/avr/init.asm @@ -18,7 +18,7 @@ ; You should have received a copy of the GNU General Public License ; along with avrcpm. If not, see . ; -; $Id$ +; $Id: init.asm 241 2015-12-10 09:38:25Z rapid $ ; #define REFR_PRE 8 /* timer prescale factor 1/8 */ @@ -34,7 +34,8 @@ regval_tab: regval_tab_e: start: - ldi temp,low(RAMEND) ; top of memory + ldi temp,low(RAMEND) ; top of memory; vim:set ts=8 noet nowrap + out SPL,temp ; init stack pointer ldi temp,high(RAMEND) ; top of memory out SPH,temp ; init stack pointer @@ -57,7 +58,7 @@ cp_l: lpm xh,z+ outm8 WDTCSR,temp ldi temp,(1<