moved uninitialized variables to .bss (was .data)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user