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

16 lines
No EOL
469 B
C#

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