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,14 +3,14 @@
|
||||
|
||||
.macro isr_err_stub nb
|
||||
isr_stub_\nb:
|
||||
movb bl, \nb
|
||||
mov bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
.endm
|
||||
|
||||
.macro isr_no_err_stub nb
|
||||
isr_stub_\nb:
|
||||
movb bl, \nb
|
||||
mov bl, \nb
|
||||
call exception_handler
|
||||
iret
|
||||
.endm
|
||||
|
Loading…
Reference in New Issue
Block a user