mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 21:08:51 +00:00
21 lines
No EOL
564 B
C#
21 lines
No EOL
564 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;
|
|
private string mSource;
|
|
public ShiftRight(string aDestination, string aSource, string aCount) {
|
|
mDestination = aDestination;
|
|
mCount = aCount;
|
|
mSource = aSource;
|
|
}
|
|
public override string ToString() {
|
|
return "shrd " + mDestination + ", " + mSource + ", " + mCount;
|
|
}
|
|
}
|
|
} |