1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-26 11:29:28 +00:00

A2600: init_rw_memory should be inlineable

This commit is contained in:
Karol Stasiak 2019-10-24 15:09:53 +02:00
parent 6fddf1cf0d
commit 72de22bbe1

View File

@ -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