summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/v620
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-05-06 20:50:47 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-05-06 20:50:47 -0400
commit5e81f34bf33eab610240a69fbbec5b3f44dbebf6 (patch)
treea022109b9f351a31c9d6db4e342b6fdf7ec6936d /src/devices/cpu/v620
parent61aacfef75a2be26a04716bb19bddd1d04a773c2 (diff)
v620dasm.cpp: Add comment
Diffstat (limited to 'src/devices/cpu/v620')
-rw-r--r--src/devices/cpu/v620/v620dasm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/v620/v620dasm.cpp b/src/devices/cpu/v620/v620dasm.cpp
index e050bb9463e..74af4537df8 100644
--- a/src/devices/cpu/v620/v620dasm.cpp
+++ b/src/devices/cpu/v620/v620dasm.cpp
@@ -56,6 +56,8 @@ static const char *const s_index_tags[2] =
static const char *const s_reg_names[8] =
{
"A", "B", "X", "R3", "R4", "R5", "R6", "R7"
+ // A, B and X are legacy names for V75's R0, R1 and R2. These may also be written as plain
+ // numbers, though 1 = R2 and 2 = R1 to remain compatible with older indexing syntax.
};
static const char *const s_reg_mem_ops[4] =