mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
20 lines
507 B
C#
20 lines
507 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) };
|
|
|
|
}
|
|
}
|
|
}
|