]> hackdaworld.org Git - my-code/atmel.git/commitdiff
changed init
authorhackbard <hackbard>
Mon, 8 Dec 2003 17:30:06 +0000 (17:30 +0000)
committerhackbard <hackbard>
Mon, 8 Dec 2003 17:30:06 +0000 (17:30 +0000)
beginners/test_int.asm

index bb01a4129922d19813c5071abbe31231aec3115f..7c00fac537e341ef43d625b05e2a46d4a37bc944 100644 (file)
@@ -90,13 +90,13 @@ out TCCR1B, r16
 ldi r16, (1<<TOIE1)
 out TIMSK, r16
 
+; global interrupts enable
+sei
+
 ; allow sleep mode
 ldi r16, (1<<SE)
 out MCUCR, r16
 
-; global interrupts enable
-sei
-
 ; main loop
 MAIN:
 sleep