mirror of
https://github.com/rzzzwilson/pymlac.git
synced 2025-06-10 09:32:41 +00:00
18 lines
327 B
Python
Executable File
18 lines
327 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
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)
|