Advertisement
Guest User

Untitled

a guest
Aug 17th, 2022
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     def function(self):
  2.         for insn in DATABASE:
  3.             lopcode = (insn.ppc.opcode.value & insn.ppc.opcode.mask)
  4.             ropcode = (self.major & insn.ppc.opcode.mask)
  5.             if lopcode == ropcode:
  6.                 return insn.ppc.unit
  7.         return _Function.NONE
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement