Cosmos/source/Indy.IL2CPU/Assembler/x86/Dec.cs
mterwoord_cp 5928581f2f
2008-11-07 12:27:08 +00:00

17 lines
502 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "dec")]
public class Dec : InstructionWithDestinationAndSize {
public override string ToString() {
if (Size>0) {
return "dec " + SizeToString(Size) + " " + GetDestinationAsString();
} else {
return "dec " + GetDestinationAsString();
}
}
}
}