mips/include/mlimits.h

22 lines
426 B
C

/* Copyright (c) 2024 Freya Murphy */
#ifndef __MLIMITS_H__
#define __MLIMITS_H__
/* Specifies how long a ident, register,
* instruction name, or any type of variable
* length text can be inside the lexer.
*/
#ifndef MAX_LEX_LENGTH
#define MAX_LEX_LENGTH 24
#endif
/* Specifices how many max arguments a
* given directive can hold
*/
#ifndef MAX_ARG_LENGTH
#define MAX_ARG_LENGTH 12
#endif
#endif /* __MLIMITS_H__ */