From 9fbb36769fcb4587843c18fc2c50b76b97597880 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 16 Apr 2021 11:20:34 -0400 Subject: [PATCH] mc68hc11: Fix bug causing DES to decrement IX rather than the stack pointer --- src/devices/cpu/mc68hc11/hc11ops.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/mc68hc11/hc11ops.hxx b/src/devices/cpu/mc68hc11/hc11ops.hxx index 4f552d73fa9..2429f0b6d57 100644 --- a/src/devices/cpu/mc68hc11/hc11ops.hxx +++ b/src/devices/cpu/mc68hc11/hc11ops.hxx @@ -1952,7 +1952,7 @@ void HC11OP(dec_indy)() /* DES 0x34 */ void HC11OP(des)() { - m_ix--; + m_sp--; CYCLES(3); }