summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/uml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/uml.cpp')
-rw-r--r--src/devices/cpu/uml.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/devices/cpu/uml.cpp b/src/devices/cpu/uml.cpp
index a785e29cc40..30df9819ee1 100644
--- a/src/devices/cpu/uml.cpp
+++ b/src/devices/cpu/uml.cpp
@@ -427,6 +427,19 @@ public:
}
convert_to_mov_immediate(inst, val);
}
+ else if ((1 << inst.param(2).size()) >= inst.size())
+ {
+ if (inst.flags())
+ {
+ inst.m_opcode = OP_AND;
+ inst.m_param[2] = size_mask(inst);
+ }
+ else
+ {
+ inst.m_opcode = OP_MOV;
+ inst.m_numparams = 2;
+ }
+ }
}
static void roland(instruction &inst)