peek( addr )

Reads a byte from a memory location.

The address of the memory location.

The peek() function reads a byte from the addressable memory region (0x000-0x7fff). See Memory for information about the memory layout.

See peek4() for a way to read a 32-bit value from four consecutive memory addresses.

Examples Edit

b = peek(0x4300)

See also Edit