1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

As copied from code.google.com/rzzzwilson.

This commit is contained in:
Ross Wilson
2015-05-20 19:02:17 +07:00
parent f95cf16fda
commit fa2c04ad95
343 changed files with 42429 additions and 0 deletions

16
idasm/processdata.py Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python
"""
This module takes one word value and processes it as a DATA word.
"""
import disasmdata
def process(mem, addr, cycle):
code = mem.getCode(addr)
(op, fld) = disasmdata.disasmdata(code)
mem.putOp(addr, op)
mem.putFld(addr, fld)
mem.putCycle(addr, cycle)