using System; using System.IO; using Mono.Cecil; using Mono.Cecil.Cil; using CPU = Indy.IL2CPU.Assembler.X86; namespace Indy.IL2CPU.IL.X86 { [OpCode(Code.Leave)] public class Leave: Op {public readonly string TargetLabel; public Leave(Mono.Cecil.Cil.Instruction aInstruction, MethodInformation aMethodInfo) : base(aInstruction, aMethodInfo) { TargetLabel = GetInstructionLabel((Instruction)aInstruction.Operand); } public override void DoAssemble() { new CPU.JumpAlways(TargetLabel); } } }