Cosmos/source/Indy.IL2CPU.Assembler.X86/ShiftRight.cs
2007-09-27 11:10:49 +00:00

21 lines
No EOL
563 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "shr")]
public class ShiftRight: Instruction {
private string mDestination;
private string mSource;
private string mCount;
public ShiftRight(string aDestination, string aSource, string aCount) {
mDestination = aDestination;
mSource = aSource;
mCount = aCount;
}
public override string ToString() {
return "shr " + mDestination + ", " + mSource + ", " + mCount;
}
}
}