def _read(self): return _metalcpu.coproc_read(self._readindex)
def coproc_peek(coproc, opcode_1, CRn, CRm, opcode_2): reg_entry = _coprocread_index(coproc, opcode_1, CRn, CRm, opcode_2) if reg_entry is None: raise ValueError('coprocessor register not present/supported') return _metalcpu.coproc_read(reg_entry[1])