# shz_sq_memcpy32_1

Source: https://sh4zam.com/api/memory/shz_sq_memcpy32_1/

> Copies src to dst in a single 32-byte transaction using the Store Queues

```c
SHZ_INLINE void* shz_sq_memcpy32_1( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src) SHZ_NOEXCEPT;
```

Copies `src` to `dst` in a single 32-byte transaction using the Store Queues.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `dst` | `void *SHZ_RESTRICT` |  |
| `src` | `const void *SHZ_RESTRICT` |  |

## Returns

`void *`

## Notes

- The Store Queues bypass the SH4's data-cache! They are typically used to transfer to *external memory* and are slower for memory-to-memory transactions.

## Warnings

- `dst` must be at least 4-byte aligned, while `src` must be at least 8-byte aligned.

## Naming and requirements

- `sq_`: Writes through the SH4 store queues (burst writes to memory or the PVR). ([Naming and Suffixes](https://sh4zam.com/concepts/naming-and-suffixes/))

## Availability

- **C++ equivalent:** [`shz::sq_memcpy32_1`](https://sh4zam.com/api/cpp/#shzsq_memcpy32_1)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_mem.h:342`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_mem.h#L342)
- **Module:** [Memory](https://sh4zam.com/api/memory/), section "Constant-sized Operations"

## See also

[`shz_memcpy32`](https://sh4zam.com/api/memory/shz_memcpy32/)
