GetByte

Top 

 

 

unsigned int GetByte(unsigned long addr, int addr_space);

 Description

To read a byte from a specified address space{addr_sp} (parameter addr_space) at a specified address.

 Returned value

Read byte or word.

 Example

printf("%02X", GetByte(SubLevel(0, 0), 0x1F));