mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
18 lines
No EOL
518 B
C#
18 lines
No EOL
518 B
C#
using System;
|
|
using System.IO;
|
|
using Mono.Cecil.Cil;
|
|
using CPU = Indy.IL2CPU.Assembler.X86;
|
|
|
|
namespace Indy.IL2CPU.IL.X86 {
|
|
public class Nop: IL.Nop {
|
|
public override void Assemble(Instruction aInstruction) {
|
|
// Assembler would be base type in IL
|
|
// Cast to ours
|
|
// var x = (X86.Assembler)Assembler
|
|
// This would solve the threading issue
|
|
// and later allow for operator overloads etc.
|
|
// x.Noop();
|
|
new CPU.Noop();
|
|
}
|
|
}
|
|
} |