summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author tim lindner <tlindner@macmess.org>2023-05-21 12:51:02 -0700
committer GitHub <noreply@github.com>2023-05-21 15:51:02 -0400
commit9d39fbd6aa3c5f64a69e8b3d71f396792f7daa12 (patch)
tree6bde246f64207666920d6cfcc7f5c613c91bce28
parentc92625b772a3fcf91d7b80edbd578aa128ea2da7 (diff)
m6809: Set V flag on XDEC (#11259)
-rw-r--r--src/devices/cpu/m6809/m6809.lst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6809/m6809.lst b/src/devices/cpu/m6809/m6809.lst
index 4e6bc204144..4f2b8077bb5 100644
--- a/src/devices/cpu/m6809/m6809.lst
+++ b/src/devices/cpu/m6809/m6809.lst
@@ -684,7 +684,7 @@ XDEC8:
else
m_cc &= ~CC_C;
- m_temp.b.l = set_flags<uint8_t>(CC_NZ, m_temp.b.l, 1, m_temp.b.l - 1);
+ m_temp.b.l = set_flags<uint8_t>(CC_NZV, m_temp.b.l, 1, m_temp.b.l - 1);
if(!hd6309_native_mode() || !is_register_addressing_mode())
{
@dummy_read_opcode_arg(0);