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). 


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Amforth-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to