Пример #1
0
 def _read(self):
     return _metalcpu.coproc_read(self._readindex)
Пример #2
0
 def _read(self):
     return _metalcpu.coproc_read(self._readindex)
Пример #3
0
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])
Пример #4
0
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])