Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
POKE Keyword
POKE address, value

Stores the low 8 bits of value to memory at address.

Remarks
The address must be writable. If not, Bad Address at <address> is raised.
Writing to MMIO can have immediate hardware effects.

How to read it

  • Think “store 8-bit”.
  • Only the lowest byte of value is written.

Examples

REM Store a marker byte
POKE &100100, &AA
PRINT PEEK(&100100)

Notes

  • Always use the access width expected by the device.

See also:
POKEW · POKED · POKEQ · PEEK