Cosmos/source/Indy.IL2CPU.Assembler.X86/ShiftRight.cs
2008-05-14 17:21:54 +00:00

19 lines
No EOL
480 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 mCount;
public ShiftRight(string aDestination, string aCount) {
mDestination = aDestination;
mCount = aCount;
}
public override string ToString() {
return "shr " + mDestination + ", " + mCount;
}
}
}