Cosmos/source/Indy.IL2CPU/Assembler/x86/Push.cs
Dokugogagoji_cp 02261a5771 Push and Pop testcases
Changed Pop and Push as IntructionWithDestination and overrided toString for fixing dword
2008-11-14 14:11:04 +00:00

21 lines
474 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode("push")]
public class Push : InstructionWithDestination{
public Push()
{
//Changed without size
//Size = 32;
}
public override string ToString()
{
return this.mMnemonic + " dword " + this.GetDestinationAsString();
}
}
}