exception_vectors: Use call0 for sdk__xt_int_exit, in case it needs a literal

This commit is contained in:
Angus Gratton 2015-10-06 18:25:48 +11:00
parent 0d35c0c02d
commit 12399c05ef

View file

@ -510,7 +510,7 @@ UserExceptionHandler:
and a2, a2, a3 and a2, a2, a3
and a2, a2, a4 # a2 = 0x3FFF & INTENABLE & INTERRUPT and a2, a2, a4 # a2 = 0x3FFF & INTENABLE & INTERRUPT
call0 _xt_isr_handler call0 _xt_isr_handler
j sdk__xt_int_exit # once finished, jumps to _xt_user_exit via stack call0 sdk__xt_int_exit # once finished, jumps to _xt_user_exit via stack
.literal_position .literal_position
.LUserFailOtherExceptionCause: .LUserFailOtherExceptionCause: