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 };