Cosmos/source/Indy.IL2CPU.IL.X86.Native/CustomImplementations/System/Diagnostics/BreakAssembler.cs

15 lines
No EOL
445 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Indy.IL2CPU.Plugs;
using Indy.IL2CPU.Assembler;
namespace Indy.IL2CPU.IL.X86.Native.CustomImplementations.System.Diagnostics {
public class BreakAssembler: AssemblerMethod {
public override void Assemble(Indy.IL2CPU.Assembler.Assembler aAssembler) {
new Label(DebuggerImpl.BreakMethodName);
new Assembler.X86.Ret("");
}
}
}