From 9d637eee25fbe88bc22221c1a5957782cdc70a47 Mon Sep 17 00:00:00 2001 From: marcobaye Date: Sun, 28 Jun 2020 00:05:35 +0000 Subject: [PATCH] comments only, no change in functionality git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@262 4df02467-bbd4-4a76-a152-e7ce94205b78 --- src/cpu.c | 8 ++++---- src/mnemo.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cpu.c b/src/cpu.c index a397708..837b64f 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -32,22 +32,22 @@ static struct cpu_type cpu_type_c64dtv2 = { }; static struct cpu_type cpu_type_65c02 = { keyword_is_65c02_mnemo, - CPUFLAG_WARN_ABOUT_FF_PTR, // TODO - remove this? check datasheets/realhw! + CPUFLAG_WARN_ABOUT_FF_PTR, // from WDC docs 234 // !align fills with "NOP" }; static struct cpu_type cpu_type_r65c02 = { keyword_is_r65c02_mnemo, - CPUFLAG_WARN_ABOUT_FF_PTR, // TODO - remove this? check datasheets/realhw! + CPUFLAG_WARN_ABOUT_FF_PTR, // from WDC docs 234 // !align fills with "NOP" }; static struct cpu_type cpu_type_w65c02 = { keyword_is_w65c02_mnemo, - CPUFLAG_WARN_ABOUT_FF_PTR, // TODO - remove this? check datasheets/realhw! + CPUFLAG_WARN_ABOUT_FF_PTR, // from WDC docs 234 // !align fills with "NOP" }; static struct cpu_type cpu_type_65816 = { keyword_is_65816_mnemo, - // TODO - what about CPUFLAG_WARN_ABOUT_FF_PTR? does this depend on native/emulation mode? + // TODO - what about CPUFLAG_WARN_ABOUT_FF_PTR? only needed for old opcodes in emulation mode! CPUFLAG_SUPPORTSLONGREGS, // allows A and XY to be 16bits wide 234 // !align fills with "NOP" }; diff --git a/src/mnemo.c b/src/mnemo.c index ee19c52..599f25c 100644 --- a/src/mnemo.c +++ b/src/mnemo.c @@ -73,7 +73,7 @@ enum mnemogroup { GROUP_REL16_2, // 16bit relative to pc+2 Byte value = opcode GROUP_REL16_3, // 16bit relative to pc+3 Byte value = opcode GROUP_BOTHMOVES, // the "move" commands MVP and MVN Byte value = opcode - GROUP_ZPONLY, // rmb0..7 and smb0..7 Byte value = opcode FIXME - use for IDX16COP,IDXeDEW,IDXeINW as well! + GROUP_ZPONLY, // rmb0..7 and smb0..7 Byte value = opcode FIXME - use for IDXeDEW,IDXeINW as well! GROUP_PREFIX, // NOP on m65 (throws error) Byte value = opcode };