1
0
mirror of https://github.com/pfusik/xasm.git synced 2024-06-20 19:29:41 +00:00

Refactor LDA and STA with existing routines.

This commit is contained in:
Jakub Husak 2022-12-01 14:48:08 +01:00 committed by Piotr Fusik
parent 9aae1ad4c4
commit 83d2f8ff1d

View File

@ -2479,7 +2479,7 @@ void assemblyInstruction(string instruction) {
assemblyConditionalJump(0x50);
break;
case "LDA":
assemblyAccumulator(0xa0, 0, 0);
assemblyLda(0);
break;
case "LDX":
assemblyLdx(0);
@ -2602,7 +2602,7 @@ void assemblyInstruction(string instruction) {
assemblySkip(0x10);
break;
case "STA":
assemblyAccumulator(0x80, 0, 0);
assemblySta(0);
break;
case "STX":
assemblyStx(0);