Cosmos/source/Cosmos.IL2CPU/IL/Br.cs
2017-03-19 09:29:46 -05:00

21 lines
508 B
C#

using XSharp.Common;
namespace Cosmos.IL2CPU.X86.IL
{
[OpCode(ILOpCode.Code.Br)]
public class Br : ILOp
{
public Br(Cosmos.Assembler.Assembler aAsmblr)
: base(aAsmblr)
{
}
public override void Execute(_MethodInfo aMethod, ILOpCode aOpCode)
{
XS.Jump(AppAssembler.TmpBranchLabel(aMethod, aOpCode));
//new CPU.Jump { DestinationLabel = AppAssembler.TmpBranchLabel(aMethod, aOpCode) };
}
}
}