public override void AssembleNew(Cosmos.Assembler.Assembler aAssembler, object aMethodInfo) { aAssembler.Add(new LiteralAssemblerCode("%ifdef DEBUGSTUB")); aAssembler.Add(new LiteralAssemblerCode("pushad")); aAssembler.Add(new LiteralAssemblerCode("Call DebugStub_SendPtr")); aAssembler.Add(new LiteralAssemblerCode("popad")); aAssembler.Add(new LiteralAssemblerCode("%endif")); }
public override void AssembleNew(Cosmos.Assembler.Assembler aAssembler, object aMethodInfo) { aAssembler.Add(new LiteralAssemblerCode("%ifdef DEBUGSTUB")); aAssembler.Add(new LiteralAssemblerCode("mov dword [DebugBreakOnNextTrace], 1")); aAssembler.Add(new LiteralAssemblerCode("%endif")); }