/*
\funcref{fun\_xor}{void fun\_xor ()}
    {}
    {}
    {stack_pop(), stack_push()}
    {}
    {funxor.c}
    {
        This function pops two variables and pushes the bitwise xor-ed result 
        of the {\em intValue} fields of these variables.  The resulting 
        pushed variable is of type {\em e\_int}.  } */ 

#include "opcodefun.ih"

void o_xor ()
{
    int rvalue = int_value(stack_top());

    stack_pop();
    int_assignInt(stack_top(), int_value(stack_top()) ^ rvalue);
}
