fix: isr.s not compiling because of movb instruction instead of mov
This commit is contained in:
parent
8b2d35594d
commit
9479515685
@ -3,8 +3,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
__attribute__((noreturn)) void exception_handler(void);
|
||||
|
||||
void exception_handler(void)
|
||||
{
|
||||
int8_t index = -1;
|
||||
|
@ -3,16 +3,16 @@
|
||||
|
||||
.macro isr_err_stub nb
|
||||
isr_stub_\nb:
|
||||
movb bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
mov bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
.endm
|
||||
|
||||
.macro isr_no_err_stub nb
|
||||
isr_stub_\nb:
|
||||
movb bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
mov bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
.endm
|
||||
|
||||
isr_no_err_stub 0
|
||||
|
Loading…
Reference in New Issue
Block a user