poke_w Function (Macro)

peekpoke.h

#define poke_w(addr,val) (void)(*((unsigned short*)(long)(addr)) = (val))

Stores a word in memory.

poke_w is like poke, but stores a word in memory instead of a byte.