Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @cached_property
- def insn(self):
- for insn in DATABASE:
- lopcode = (insn.opcode.value & insn.opcode.mask)
- ropcode = (self & insn.opcode.mask)
- if lopcode == ropcode:
- return insn
- raise ValueError(self)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement