mirror of
https://github.com/pfusik/xasm.git
synced 2025-01-19 00:29:53 +00:00
Refactor LDA and STA with existing routines.
This commit is contained in:
parent
9aae1ad4c4
commit
83d2f8ff1d
@ -2479,7 +2479,7 @@ void assemblyInstruction(string instruction) {
|
|||||||
assemblyConditionalJump(0x50);
|
assemblyConditionalJump(0x50);
|
||||||
break;
|
break;
|
||||||
case "LDA":
|
case "LDA":
|
||||||
assemblyAccumulator(0xa0, 0, 0);
|
assemblyLda(0);
|
||||||
break;
|
break;
|
||||||
case "LDX":
|
case "LDX":
|
||||||
assemblyLdx(0);
|
assemblyLdx(0);
|
||||||
@ -2602,7 +2602,7 @@ void assemblyInstruction(string instruction) {
|
|||||||
assemblySkip(0x10);
|
assemblySkip(0x10);
|
||||||
break;
|
break;
|
||||||
case "STA":
|
case "STA":
|
||||||
assemblyAccumulator(0x80, 0, 0);
|
assemblySta(0);
|
||||||
break;
|
break;
|
||||||
case "STX":
|
case "STX":
|
||||||
assemblyStx(0);
|
assemblyStx(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user