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

14 lines
No EOL
406 B
C#

using System;
using System.Linq;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode(0xFFFFFFFF, "pop")]
public class Pop: InstructionWithDestinationAndSize {
public override string ToString() {
if (Size > 0) {
return "pop " + SizeToString(Size) + " " + GetDestinationAsString();
}
return "pop dword " + GetDestinationAsString();
}
}
}