poke( addr, val )

Writes a byte to a memory location.

The address of the memory location.
The byte value.

The poke() function writes a byte to the addressable memory region (0x000-0x7fff). See Memory for information about the memory layout.

See poke4() for a way to write a 32-bit value to four consecutive memory addresses.

Examples Edit

poke(0x4300, 255)

See also Edit