//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// PLEASE DO NOT EDIT WITHOUT THE EXPLICIT CONSENT OF THE AUTHOR! \\
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\

package ilog.language.design.base;

/**
 * @version     Last modified on Tue Apr 09 18:36:49 2002 by hak
 * @author      <a href="mailto:hak@ilog.fr">Hassan A&iuml;t-Kaci</a>
 * @copyright   &copy; 2000-2002 <a href="http://www.ilog.fr/">ILOG, S.A.</a>
 */

import ilog.language.design.backend.Runtime;
import ilog.language.design.backend.RuntimeSet;

public class PrevIntCirc extends Instruction
{
  public PrevIntCirc ()
    {
      setName("PREV_C_I");
    }

  public final void execute (Runtime r)
    {
      RuntimeSet set = (RuntimeSet)r.popObject("can't access the element of a null set");
      r.pushInt(set.prevc(r.popInt()));
      r.incIP();
    }
}
