1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 18:16:35 +00:00

Add memory barriers

This commit is contained in:
Karol Stasiak
2018-12-31 13:20:32 +01:00
parent fb42e77e6e
commit b400c884e0
10 changed files with 32 additions and 8 deletions
+8
View File
@@ -61,3 +61,11 @@ Various colour constants.
Available for: VIC-20, C64, C264 series, ZX Spectrum.
#### `macro void memory_barrier()`
Informs the optimizer that at this point arbitrary memory has been accessed and either read or written by an external device.
The optimizer should not optimize any memory accesses across that macro.
Available for: all targets.