Cosmos/source/Indy.IL2CPU/Assembler/x86/And.cs
2008-11-01 12:49:18 +00:00

30 lines
723 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "and")]
public class And: Instruction {
private string mDestination;
private string mSource;
public And(string aDestination, int aValue):this(aDestination, aValue.ToString()) {
}
public And(string aDestination, uint aValue)
: this(aDestination, aValue.ToString()) {
}
public And(string aDestination, string aSource) {
mDestination = aDestination;
mSource = aSource;
}
public override string ToString() {
return "and " + mDestination + ", " + mSource;
}
}
}