summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/unsp/unspfe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/unsp/unspfe.cpp')
-rw-r--r--src/devices/cpu/unsp/unspfe.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/unsp/unspfe.cpp b/src/devices/cpu/unsp/unspfe.cpp
index 3eb38b2198c..1bb3c27496d 100644
--- a/src/devices/cpu/unsp/unspfe.cpp
+++ b/src/devices/cpu/unsp/unspfe.cpp
@@ -124,6 +124,9 @@ bool unsp_frontend::describe(opcode_desc &desc, const opcode_desc *prev)
{
r1++;
desc.regout[0] |= 1 << r1;
+ if (r1 == unsp_device::REG_PC) {
+ desc.flags |= OPFLAG_END_SEQUENCE | OPFLAG_IS_UNCONDITIONAL_BRANCH;
+ }
}
return true;
}