package memory type Memory interface { Read(addr uint32) (uint32, error) Write(addr uint32, value uint32) error Fetch(addr uint32) (uint32, error) }