Atmega8535 マイクロコントローラと STK200 開発ボードを使用しています。複数の外部割り込みを使用しようとしていますが、何らかの理由で INT0 のみが機能し、他は何もしません。関連するコードは次のとおりです。
;Interrupt Vector Addresses
.equ INT0addr=$001 ;External Interrupt0 Vector Address
.equ INT1addr=$002
.equ INT2addr=$003
.equ INT3addr=$004
.equ INT4addr=$005
//interrupts
.org INT0addr
rjmp INT0 ;External Interrupt0 Vector
.org $0015 ;Program address
.org INT1addr
rjmp INT1 ;External Interrupt1 Vector
.org $0015 ;Program address
.org INT2addr
rjmp INT2 ;External Interrupt0 Vector
.org $0017
.org INT3addr
rjmp INT3 ;External Interrupt0 Vector
.org $0018
.org INT4addr
rjmp INT4 ;External Interrupt0 Vector
.org $0019
;External Interrupt0 Service Routine
INT0: cli ;Prevent any more interrupts while ISR is running
rjmp reset
reti ;Return and enable interrupts again
;External Interrupt1 Service Routine
INT1: cli ;Prevent any more interrupts while ISR is running
rjmp reset
reti ;Return and enable interrupts again
;External Interrupt1 Service Routine
INT2: cli ;Prevent any more interrupts while ISR is running
rjmp reset
reti ;Return and enable interrupts again
;External Interrupt1 Service Routine
INT3: cli ;Prevent any more interrupts while ISR is running
rjmp reset
reti ;Return and enable interrupts again
;External Interrupt1 Service Routine
INT4: cli ;Prevent any more interrupts while ISR is running
rjmp reset
reti ;Return and enable interrupts again