(self, reg_id)
| 849 | |
| 850 | # verify if this instruction implicitly modified register @reg_id |
| 851 | def reg_write(self, reg_id): |
| 852 | if self._raw.id == 0: |
| 853 | raise CsError(CS_ERR_SKIPDATA) |
| 854 | |
| 855 | if self._cs._diet: |
| 856 | # Diet engine cannot provide regs_write information |
| 857 | raise CsError(CS_ERR_DIET) |
| 858 | |
| 859 | return reg_id in self.regs_write |
| 860 | |
| 861 | # return number of operands having same operand type @op_type |
| 862 | def op_count(self, op_type): |