Write a word (two bytes) to memory.
void POKEW (unsigned addr, unsigned val);
The function writes the value
valto the absolute memory address given by
addr. The low byte of
valis written to the
addr, the high byte is written to
- The function is actually a macro.
- This function depends highly on the platform and environment.
- Careless use will cause the program to act strange or may crash the machine.
- The order in which the two bytes are written is unspecified and may depend of the address expression used.
- See also