This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / ilasm / codegen / IntInstr.cs
1 //
2 // Mono.ILASM.IntInstr
3 //
4 // Author(s):
5 //  Jackson Harper (Jackson@LatitudeGeo.com)
6 //
7 // (C) 2003 Jackson Harper, All rights reserved
8 //
9
10
11 using System;
12
13 namespace Mono.ILASM {
14
15         public class IntInstr : IInstr {
16
17                 private PEAPI.IntOp op;
18                 private int operand;
19
20                 public IntInstr (PEAPI.IntOp op, int operand)
21                 {
22                         this.op = op;
23                         this.operand = operand;
24                 }
25
26                 public void Emit (CodeGen code_gen, MethodDef meth,
27                                   PEAPI.CILInstructions cil)
28                 {
29                         cil.IntInst (op, operand);
30                 }
31
32         }
33
34 }
35