mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
21 lines
508 B
C#
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) };
|
|
|
|
}
|
|
}
|
|
}
|