devablxorexpr(3) develops 'xor', 'nxor' in an expression.

SYNOPSYS

#include "abl101.h"
chain_list *devablxorexpr( Expr )
  chain_list *Expr;

PARAMETERS

Expr
Expression to develop.

DESCRIPTION

devablxorexpr develops 'xor' or 'xnor' in Expr. The expression pointer Expr MUSTN'T be used after the call to this function.

RETURN VALUE

devablxorexpr returns a pointer to the modified expression.

EXAMPLE

#include "abl101.h"
  chain_list *Expr;
  Expr = createablbinexpr( ABL_XOR,
                           createablatom( "a" ),
                           createablatom( "b" ) );
  Expr = devablxorexpr( Expr );
  /* displays (a and (not b)) or ((not a) and b) */
  viewablexpr( Expr, ABL_VIEW_VHDL );