Cosmos/source/Compiler/Indy.IL2CPU.X86/IL/x86/Ldc_I4.cs
mterwoord_cp acaa8e0a89
2009-10-17 13:45:47 +00:00

36 lines
No EOL
1.1 KiB
C#

//using System;
//using System.Linq;
//using Indy.IL2CPU.Assembler;
//using CPU = Indy.IL2CPU.Assembler.X86;
//using System.Collections.Generic;
//namespace Indy.IL2CPU.IL.X86 {
// [OpCode(OpCodeEnum.Ldc_I4)]
// public class Ldc_I4: Op {
// private int mValue;
// protected void SetValue(int aValue) {
// mValue = aValue;
// }
// protected void SetValue(string aValue) {
// SetValue((Int32)UInt32.Parse(aValue));
// }
// public Ldc_I4(ILReader aReader, MethodInformation aMethodInfo)
// : base(aReader, aMethodInfo) {
// if (aReader != null) {
// SetValue(aReader.OperandValueInt32);
// }
// }
// public int Value {
// get {
// return mValue;
// }
// }
// public override sealed void DoAssemble() {
// new CPU.Push { DestinationValue = (uint)mValue };
// Assembler.StackContents.Push(new StackContent(4, typeof(int)));
// }
// }
//}