# SHZ_MEMORY_BARRIER_SOFT

Source: https://sh4zam.com/api/cdefs/SHZ_MEMORY_BARRIER_SOFT/

```c
#define SHZ_MEMORY_BARRIER_SOFT() asm volatile("" : : : "memory")
```

Creates a software memory barrier beyond which any loads or stores may not be reordered

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_cdefs.h:191`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_cdefs.h#L191)
- **Module:** [Compiler Definitions](https://sh4zam.com/api/cdefs/), section "Not in upstream reference"
