MI_ReadByte


C Specification

#include <nitro/mi.h>

u8 MI_ReadByte( const void* address )

Description

This function acquires as u8 data the contents of the memory at the address that is specified by a const void type pointer.

Internally, it accesses memory as u16 data. Therefore at assembler level, byte access instructions such as strb/ldrb will not be generated.

Arguments

address Address to read byte data from (pointer)

Return Values

Contents of the memory at the specified address (u8).

See Also

MI_WritedByte

Revision History

04/06/2004 Revised the description due to changes to const void* in the address argument.
03/30/2004 Initial Version