AVRのデバッガ simulavr

この辺見れば出来そうだけど、まだ良くわかってない。
http://www.nongnu.org/simulavr/intro.html
http://reprap.org/wiki/SimulAVR