# MI_Store*

## Syntax

  `#include <nitro/mi.h>`
  `SDK_INLINE void MI_StoreLE8 (void *ptr, u8 val);
  SDK_INLINE void MI_StoreLE16(void *ptr, u16 val);
  SDK_INLINE void MI_StoreLE32(void *ptr, u32 val);
  SDK_INLINE void MI_StoreLE64(void *ptr, u64 val);
  SDK_INLINE void MI_StoreBE8 (void *ptr, u8 val);
  SDK_INLINE void MI_StoreBE16(void *ptr, u16 val);
  SDK_INLINE void MI_StoreBE32(void *ptr, u32 val);
  SDK_INLINE void MI_StoreBE64(void *ptr, u64 val);
  `

## Arguments

ptr | The address to write to. Alignment to a 16-bit, 32-bit, or 64-bit boundary is not required.
val | The value to write.

## Return Values

None.

## Description

Stores a value in the specified address using the specified endian. LE represents little-endian, while BE represents big-endian.

These 8-bit versions do not actually perform any conversions, but they have been included for uniform source code visibility.

## See Also

`MI_SwapEndian*
MI_Load*
MI_HTo*
MI_*ToH*`

## Revision History

2007/11/21 Added a description of the 64-bit version.
2006/06/13 Added a description of the 8-bit version.
2006/04/05 Initial version.

CONFIDENTIAL