Fx65 - Load registers from memory #
Assembly Syntax #
Octo: load v<x>
Chipper: LD V<x>,[I]
Available #
CHIP-8, CHIP-48, SUPER-CHIP, MEGA-CHIP, XO-CHIP
Description #
Loads the values of registers V0 through Vx from memory, starting at the address stored in I.
This operation increments I by x + 1.
Quirks #
- Memory
- The traditional, and the modern way is to increment
Ibyx + 1. This quirk will letIunchanged. - MemoryX
- There is a less uncommon variant of the memory quirk, that increments
Iby justx. It is the Behavior of CHIP-48 and SUPER-CHIP v1.0. Not many programs rely on this quirk.
Variant Specific Notes: #
The quirk mapping is as follows:
| Variant | Memory | MemoryX |
|---|---|---|
| CHIP-8 | - | - |
| CHIP-48 | - | ✅ |
| SUPER-CHIP v1.0 | - | ✅ |
| SUPER-CHIP v1.1 | ✅ | - |
| MEGA-CHIP | ✅ | - |
| XO-CHIP | - | - |