mirror of https://github.com/pfusik/xasm.git
Implied addressing mode (argument-less) variants of shift/rotate @
Special case to enable pairing accumulator shifts with instructions in different addressing mode.
This commit is contained in:
parent
cca8c374f9
commit
d6a90e98c3
12
source/app.d
12
source/app.d
|
@ -2536,6 +2536,9 @@ void assemblyInstruction(string instruction) {
|
|||
case "REQ":
|
||||
assemblyRepeat(0xf0);
|
||||
break;
|
||||
case "RLA":
|
||||
putByte(0x2a);
|
||||
break;
|
||||
case "RMI":
|
||||
assemblyRepeat(0x30);
|
||||
break;
|
||||
|
@ -2551,6 +2554,9 @@ void assemblyInstruction(string instruction) {
|
|||
case "RPL":
|
||||
assemblyRepeat(0x10);
|
||||
break;
|
||||
case "RRA":
|
||||
putByte(0x6a);
|
||||
break;
|
||||
case "RTI":
|
||||
putByte(0x40);
|
||||
break;
|
||||
|
@ -2587,6 +2593,9 @@ void assemblyInstruction(string instruction) {
|
|||
case "SEQ":
|
||||
assemblySkip(0xf0);
|
||||
break;
|
||||
case "SLA":
|
||||
putByte(0x0a);
|
||||
break;
|
||||
case "SMI":
|
||||
assemblySkip(0x30);
|
||||
break;
|
||||
|
@ -2596,6 +2605,9 @@ void assemblyInstruction(string instruction) {
|
|||
case "SPL":
|
||||
assemblySkip(0x10);
|
||||
break;
|
||||
case "SRA":
|
||||
putByte(0x4a);
|
||||
break;
|
||||
case "STA":
|
||||
assemblyAccumulator(0x80, 0, 0);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue