Advertisement
Guest User

Untitled

a guest
Aug 17th, 2022
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. opcodes = set()
  2. functions = set()
  3. for insn in DATABASE:
  4.     if insn.ppc.opcode.value in (34, 35, 50, 51, 48, 49, 42, 43, 40, 41, 32, 33, 58):
  5.         opcodes.add(insn.name)
  6.     if insn.ppc.unit is _Function.LDST:
  7.         functions.add(insn.name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement