mirror of
https://github.com/pfusik/xasm.git
synced 2024-06-15 18:29:31 +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);
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user