summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-04-16 11:20:34 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-04-16 11:22:07 -0400
commit9fbb36769fcb4587843c18fc2c50b76b97597880 (patch)
treee6956efc507b2fc3da17a3482244d3c371ab148f
parent857c00c28776188548356be5f7dab5758b0f08bd (diff)
mc68hc11: Fix bug causing DES to decrement IX rather than the stack pointer
-rw-r--r--src/devices/cpu/mc68hc11/hc11ops.hxx2
1 files changed, 1 insertions, 1 deletions
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);
}