Cosmos/source/Cosmos.IL2CPU/IL/Br.cs
2017-01-31 11:22:59 -06:00

20 lines
508 B
C#

using XSharp.Compiler;
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) };
}
}
}