From: hackbard Date: Thu, 20 Apr 2006 19:09:27 +0000 (+0000) Subject: removed interrupt stuff, basic blink functionality after 2 days, spitze! :/ X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=37e1dba0449fc6461331367a2a27b981753d4d21;p=my-code%2Fatmel.git removed interrupt stuff, basic blink functionality after 2 days, spitze! :/ --- diff --git a/beginners/pld_stily.asm b/beginners/pld_stily.asm index b8f299e..624773b 100644 --- a/beginners/pld_stily.asm +++ b/beginners/pld_stily.asm @@ -6,132 +6,46 @@ .include "../include/m163def.inc" -; ------------------ -; interrupt vectors: -; ------------------ - -; reset -nop -rjmp INIT - -; int0 -nop -reti - -; int1 -nop -reti - -; timer 2 compare -nop -reti - -; timer 2 overflow -nop -reti - -; timer 1 capture -nop -reti - -; timer 1 compare a -nop -reti - -; timer 1 compare b -nop -reti - -; timer 1 overflow -nop -rjmp LASER_OFF - -; timer 0 overflow -nop -rjmp INC_COUNT - -; spi transfer complete -nop -reti - -; uart rx complete -nop -reti - -; uart data register empty -nop -reti - -; uart tx complete -nop -reti - -; adc complete -nop -reti - -; eeprom ready -nop -reti - -; analog comparator -nop -reti - -; twi -nop -reti - -; ----- -; code: -; ----- - INIT: -; set stackpointer -ldi r16,low(RAMEND) -out SPL,r16 -; timer/counter 0 setting (f_clk/1024) -ldi r16,(1<