Array access to the register values in the cache.
- reg (Register)
- The register value to retrieve.
The cached value of the register, or -1 if not in the cache.
All registers are unsigned at this low level,
so a return value of -1 indicates a value not in the cache.