//------------------------------------------------------------------
// ARGSPLIT.H
// Keith Larson
// TMS320 DSP Applications
// (c) Copyright 1995, 1996
// Texas Instruments Incorporated
//
// This is unsupported freeware code with no implied warranties or
// liabilities.  See the disclaimer document for details
//------------------------------------------------------------------
#ifndef __ARGSPLIT
#define __ARGSPLIT
#include "assm_fun.h"
#include "errormsg.h"
#include "symbols.h"
#define  maxargs     32
#define  maxargsize (bufsize+1)
typedef struct {char s[maxargsize];}ARG;
extern  ARG arg[];
void    repack_args       (char *ptr);
int     bad_label         (char *ptr);
int     arg_split         (char *ptr, char posn);
int     pack_and_split_arg(char *ptr);
char    valid_label_char  (char *ptr);
char    *argstart         (char *ptr);  // Moved to symbols
char    *argend           (char *ptr,char field);
#define MAX_FLOAT +3.4028234000e38
#define MIN_FLOAT -3.4028235000e38
NUM_TYPE ascii_num(char *ptr, long *binv);

#endif


