From: pito <pi...@vo...> - 2010-09-10 17:50:49
|
adiw xl, 1 DO_NEXT: brts DO_INTERRUPT movw zl, XL ; READ IP readflashcell wl, wh adiw XL, 1 ; INC IP DO_EXECUTE: movw zl, wl readflashcell temp0,temp1 movw zl, temp0 ijmp <<<<<<<<<<<<<<<< HERE CALLS AVRStudio usoft DO_INTERRUPT: ; here we deal with interrupts the forth way lds temp0, intcur ldi zl, LOW(intvec) ldi zh, HIGH > however after few steps the AVR Studio crashed (it > shots down the > simulator) - always on first "ijmp" instruction > (atmega1284p). |