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:
16
idasm/processdata.py
Executable file
16
idasm/processdata.py
Executable 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)
|
||||
Reference in New Issue
Block a user