私がこれまでに見たすべてのサンプル AVR プログラムは、次のようなコードで始まります。
.org $0000
rjmp Reset
; ...
Reset:
; Start of program
割り込みを使用していない場合は、を使用せずにrjmp
プログラムを開始でき$0000
ますか?
$0000 割り込みベクトルの直後のプログラム メモリ ロケーションに配置されます。割り込みを使用していない場合は、rjmp なしでプログラムを開始できると思います。ATmega 128 データシートから:
If the program never enables an interrupt source, the interrupt vectors are
not used, and regular program code can be placed at these locations. This is
also the case if the Reset Vector is in the Application section while the
interrupt vectors are in the Boot section or vice versa.