mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-02 06:10:13 +00:00
Changed Pop and Push as IntructionWithDestination and overrided toString for fixing dword
21 lines
474 B
C#
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();
|
|
}
|
|
|
|
|
|
}
|
|
}
|