![]() |
peek_w | Function (Macro) |
peekpoke.h |
#define peek_w(addr) (*((unsigned short*)(long)(addr))) |
Fetches a word from the memory.
peek_w is like peek, but fetches a word from the memory instead of
a byte.
Note: Do not use peek_w for reading I/O ports! Use peekIO_w instead.