mirror of
https://github.com/KarolS/millfork.git
synced 2025-02-06 01:30:13 +00:00
A2600: init_rw_memory should be inlineable
This commit is contained in:
parent
6fddf1cf0d
commit
72de22bbe1
@ -7,7 +7,7 @@
|
||||
|
||||
#if TINY_RW_MEMORY
|
||||
|
||||
noinline asm void init_rw_memory() {
|
||||
asm void init_rw_memory() {
|
||||
? ldx #__rwdata_size.lo // can't be more than $00FC
|
||||
? beq __init_rw_memory__skip3
|
||||
+ memory_barrier()
|
||||
@ -18,7 +18,7 @@ __init_rw_memory__loop3:
|
||||
? bne __init_rw_memory__loop3
|
||||
+ memory_barrier()
|
||||
__init_rw_memory__skip3:
|
||||
rts
|
||||
? rts
|
||||
}
|
||||
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user