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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/uml.cpp b/src/devices/cpu/uml.cpp
index a26f3a92038..84cdfc9a1b6 100644
--- a/src/devices/cpu/uml.cpp
+++ b/src/devices/cpu/uml.cpp
@@ -647,9 +647,9 @@ void uml::instruction::simplify()
if (m_param[1].is_immediate())
{
if (m_size == 4)
- convert_to_mov_immediate(flipendian_int32(m_param[1].immediate()));
+ convert_to_mov_immediate(swapendian_int32(m_param[1].immediate()));
else if (m_size == 8)
- convert_to_mov_immediate(flipendian_int64(m_param[1].immediate()));
+ convert_to_mov_immediate(swapendian_int64(m_param[1].immediate()));
}
break;