mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-30 12:50:19 +00:00
22 lines
No EOL
609 B
C#
22 lines
No EOL
609 B
C#
using System;
|
|
using System.IO;
|
|
using Mono.Cecil.Cil;
|
|
using CPU = Indy.IL2CPU.Assembler.X86;
|
|
|
|
namespace Indy.IL2CPU.IL.X86 {
|
|
[OpCode(Code.Newobj)]
|
|
public class Newobj: Op {
|
|
/// <summary>
|
|
/// This overload takes the label name of the ctor
|
|
/// </summary>
|
|
/// <param name="aCtor"></param>
|
|
public void Assemble(string aCtor) {
|
|
new CPU.JumpAlways(aCtor);
|
|
}
|
|
|
|
public override void Assemble(Instruction aInstruction) {
|
|
//TODO: Call the other assemble
|
|
throw new NotImplementedException("This file has been autogenerated and not been changed afterwards!");
|
|
}
|
|
}
|
|
} |