enable global interrupts
Signed-off-by: Scott Gustafson <scott@garlicsoftware.com>
This commit is contained in:
parent
73c5ed2df4
commit
495178e117
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ RESET:
|
|||
ldi temp, (1<<SE) ; by default the mode is 000 Idle
|
||||
out SMCR, temp
|
||||
|
||||
sei ; enable global interrupts
|
||||
|
||||
LOOPSTART:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue