private void Emit (OpCode op, OpFlags flags) { Emit (EncodeOp (op, flags)); }
public static void DecodeOp (ushort word, out OpCode op, out OpFlags flags) { op = (OpCode)(word & 0x00ff); flags = (OpFlags)(word & 0xff00); }
private void Emit (OpCode op) { Emit (op, (OpFlags)0); }
public static ushort EncodeOp (OpCode op, OpFlags flags) { return (ushort)((int)op | ((int)flags & 0xff00)); }
private void Emit(OpCode op, OpFlags flags) { this.Emit(PatternCompiler.EncodeOp(op, flags)); }
private void Emit(OpCode op) { this.Emit(op, OpFlags.None); }
public static void DecodeOp(ushort word, out OpCode op, out OpFlags flags) { op = (OpCode)(word & 255); flags = (OpFlags)(word & 65280); }
public static ushort EncodeOp(OpCode op, OpFlags flags) { return((ushort)(op | (OpCode)(flags & (OpFlags)65280))); }