changed how to determine if a code has an operand

replaced has operand table flag to using whether the code has an
operand text function (added has operand access function)

removed program model operand text function (debug text function
accesses operand text function directory to determine if code has an
operand; and modified encode function to determine if code has operand by
whether it has an encode function