Read a word (two bytes) from memory.
unsigned PEEKW (unsigned addr);
The function will read the absolute memory given by
addrand return the value read. The byte read from the higher address is the high byte of the return value.
- The function is actually a macro.
- This function depends highly on the platform and environment.
- The order in which the two bytes are read is unspecified and may depend of the address expression used.
- See also