mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
19 lines
No EOL
480 B
C#
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;
|
|
}
|
|
}
|
|
} |