Cosmos/source/Indy.IL2CPU.Assembler.X86/Add.cs
kudzu_cp 170f30b447
2008-04-26 22:27:50 +00:00

26 lines
No EOL
667 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "add")]
public class Add: Instruction {
public readonly string Address1;
public readonly string Address2;
public Add(string aAddress1, UInt32 aAddress2) {
Address1 = aAddress1;
Address2 = aAddress2.ToString();
}
public Add(string aAddress1, string aAddress2) {
Address1 = aAddress1;
Address2 = aAddress2;
}
public override string ToString() {
return "add " + Address1 + "," + Address2;
}
}
}