Start on 65816

This commit is contained in:
Lauri Kasanen
2022-10-12 11:03:57 +03:00
parent eede412959
commit 67384a29b7
7 changed files with 156 additions and 14 deletions

View File

@@ -427,8 +427,13 @@ static void OneOpcode (unsigned RemainingBytes)
switch (Style) {
case atDefault:
D->Handler (D);
PC += D->Size;
if (CPU == CPU_65816) {
DataByteLine (1);
++PC;
} else {
D->Handler (D);
PC += D->Size;
}
break;
case atCode: