enable global interrupts

Signed-off-by: Scott Gustafson <scott@garlicsoftware.com>
This commit is contained in:
Scott Gustafson 2011-07-18 21:59:01 -05:00
parent 73c5ed2df4
commit 495178e117

View file

@ -40,6 +40,8 @@ RESET:
ldi temp, (1<<SE) ; by default the mode is 000 Idle ldi temp, (1<<SE) ; by default the mode is 000 Idle
out SMCR, temp out SMCR, temp
sei ; enable global interrupts
LOOPSTART: LOOPSTART:
ldi ZH, high(PULSETAB*2) + 0x40 ; This is start of Code in Tiny4 (0x4000) ldi ZH, high(PULSETAB*2) + 0x40 ; This is start of Code in Tiny4 (0x4000)
ldi ZL, low (PULSETAB*2) ; init Z-pointer to storage bytes ldi ZL, low (PULSETAB*2) ; init Z-pointer to storage bytes