mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-01 22:00:44 +00:00
23 lines
No EOL
429 B
C#
23 lines
No EOL
429 B
C#
#define Bochs_Magic_Breakpoint
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86.Native {
|
|
[OpCode(0xFFFFFFFF, "lgdt")]
|
|
public class Break: IL2CPU.Assembler.Instruction {
|
|
public Break() {
|
|
}
|
|
|
|
public override string ToString() {
|
|
#if Bochs_Magic_Breakpoint
|
|
return "xchg bx, bx";
|
|
#else
|
|
return "; Debug?";
|
|
#endif
|
|
}
|
|
}
|
|
} |