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>
|
#include <stdint.h>
|
||||||
|
|
||||||
__attribute__((noreturn)) void exception_handler(void);
|
|
||||||
|
|
||||||
void exception_handler(void)
|
void exception_handler(void)
|
||||||
{
|
{
|
||||||
int8_t index = -1;
|
int8_t index = -1;
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
.macro isr_err_stub nb
|
.macro isr_err_stub nb
|
||||||
isr_stub_\nb:
|
isr_stub_\nb:
|
||||||
movb bl, \nb
|
mov bl, \nb
|
||||||
call exception_handler
|
call exception_handler
|
||||||
iret
|
iret
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro isr_no_err_stub nb
|
.macro isr_no_err_stub nb
|
||||||
isr_stub_\nb:
|
isr_stub_\nb:
|
||||||
movb bl, \nb
|
mov bl, \nb
|
||||||
call exception_handler
|
call exception_handler
|
||||||
iret
|
iret
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
isr_no_err_stub 0
|
isr_no_err_stub 0
|
||||||
|
Loading…
Reference in New Issue
Block a user