summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-07 15:41:45 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-07 15:41:45 -0500
commit04b59f8323221205269b3f317c3d7c13ca43a62d (patch)
tree9507aa1ffb8e2b23d304fe42121083ec00778483 /scripts/src/cpu.lua
parentcc954c2adeb3aaec4402e8f893b1d591ebbf6c57 (diff)
unidasm: Add disassembler for M32C architecture
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r--scripts/src/cpu.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index f541ea6988f..0b8334a3cf4 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -1465,6 +1465,15 @@ if (CPUS["MELPS4"]~=null or _OPTIONS["with-tools"]) then
end
--------------------------------------------------
+-- Mitsubishi M32C, disassembler only
+--------------------------------------------------
+
+if (_OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m32c/m32cdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m32c/m32cdasm.h")
+end
+
+--------------------------------------------------
-- Mitsubishi M37702 and M37710 (based on 65C816)
--@src/devices/cpu/m37710/m37710.h,CPUS["M37710"] = true
--------------------------------------------------