def _read_byte(self, address):
        """Read a byte from memory.
        """
        # Initialize memory location with a random value.
        if address not in self._memory:
            self._memory[address] = random.randint(0x00, 0xff)

        return self._memory[address]
def _read_byte ( self , address ) : if address not in self . _memory : self . _memory [ address ] = random . randint ( 0x00 , 0xff ) return self . _memory [ address ]
Read a byte from memory.