diff --git a/sources/exceptions.S b/sources/exceptions.S index 0dbd383..f9bd3e9 100644 --- a/sources/exceptions.S +++ b/sources/exceptions.S @@ -465,13 +465,10 @@ noprint: move.l (a7)+,d0 // restore d0 rts // jump to exception routine - .data exception_text: .ascii "EXCEPTION %d caught at %p" .byte 13, 10, 0 - .text - #ifdef MACHINE_FIREBEE stv_protect: move.l usp,a5 // usp holen diff --git a/sources/interrupts.c b/sources/interrupts.c index a529149..5753d14 100644 --- a/sources/interrupts.c +++ b/sources/interrupts.c @@ -69,7 +69,7 @@ int register_interrupt_handler(uint8_t priority, uint8_t source, void (*func)()) "move.w sr,d0\n\t" "move.w d0,srsave \n\t" "move.w #0x2700,sr\n\t" - " .data\n\t" + " .bss\n\t" "srsave: ds.w 1\n\t" " .text\n\t" :