mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 05:48:37 +00:00
20 lines
486 B
C#
20 lines
486 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86 {
|
|
[OpCode(0xFFFFFFFF, "mov")]
|
|
public class Move: Instruction {
|
|
public readonly string Destination;
|
|
public readonly string Source;
|
|
public Move(string aDestination, string aSource) {
|
|
Destination = aDestination;
|
|
Source = aSource;
|
|
}
|
|
|
|
public override string ToString() {
|
|
return "mov " + Destination + "," + Source;
|
|
}
|
|
}
|
|
}
|