SHOW:
|
|
- or go back to the newest paste.
1 | def function(self): | |
2 | for insn in DATABASE: | |
3 | lopcode = (insn.ppc.opcode.value & insn.ppc.opcode.mask) | |
4 | - | ropcode = (self.major & insn.opcode.mask) |
4 | + | ropcode = (self.major & insn.ppc.opcode.mask) |
5 | if lopcode == ropcode: | |
6 | return insn.ppc.unit | |
7 | return _Function.NONE | |
8 |