public byte[] Implement(IRArchitectureSpecificAsm ir) { OpCode code = OpCode.NOOP; switch (ir.Instruction) { case "cli": code = OpCode.CLI; break; case "sti": code = OpCode.STI; break; case "tlbi": code = OpCode.TLBI; break; case "brk": code = OpCode.BRK; break; default: throw new Exception("Unknown assembly instruction: " + ir.Instruction); } return(Encode(code, 0, 0, 0, 0, false)); }
public byte[] Implement(IRArchitectureSpecificAsm ir) { throw new NotImplementedException(); }