Ejemplo n.º 1
0
        //UNUSED:
        //private static readonly byte[] JMP = new byte[] { 0xEA };

        #endregion

        #region Methods

        /// <summary>
        /// Emits the specified platform instruction.
        /// </summary>
        /// <param name="ctx">The context.</param>
        /// <param name="emitter">The emitter.</param>
        protected override void Emit(Context ctx, MachineCodeEmitter emitter)
        {
            emitter.EmitJumpToNextInstruction(ctx.Branch.Targets[0]);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Emits the specified platform instruction.
 /// </summary>
 /// <param name="ctx">The context.</param>
 /// <param name="emitter">The emitter.</param>
 protected override void Emit(Context ctx, MachineCodeEmitter emitter)
 {
     emitter.EmitJumpToNextInstruction(ctx.Branch.Targets[0]);
 }