MI_Store*

C Specification

#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_StoreBE8 (void *ptr, u8 val);
SDK_INLINE void MI_StoreBE16(void *ptr, u16 val);
SDK_INLINE void MI_StoreBE32(void *ptr, u32 val);

Arguments

ptr The address to write to.
Alignment at a 16-bit or 32-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 source code uniformity.

See Also

MI_SwapEndian* MI_Load* MI_HTo* MI_*ToH*

Revision History

06/13/2006 Added a description about the 8-bit versions
04/05/2006 Initial version


CONFIDENTIAL