Reads a 32-bit double-word from address and returns it as an integer (0–4294967295).
- Note
- The entire 4-byte span must be valid; otherwise Bad Address at <address> is raised.
How to read it
- Loads 4 bytes in little-endian order.
- Unaligned reads are supported.
Examples
REM Read a 32-bit value
D = PEEKD(&100040)
PRINT D
Notes
- 32-bit is common for MMIO registers.
See also:
PEEK · PEEKW · PEEKQ · POKED