#include <stdio.h>
#include <setjmp.h>
#include <string.h>
-#include <alloc.h>
#include "asm.h"
/*)Module asdata.c
* values indexed by tlevel
*/
-char afn[FILSPC]; /* afile temporary file name
+char afn[PATH_MAX]; /* afile temporary file name
*/
-char srcfn[MAXFIL][FILSPC]; /* array of source file names
+char srcfn[MAXFIL][PATH_MAX]; /* array of source file names
*/
int srcline[MAXFIL]; /* source line number
*/
-char incfn[MAXINC][FILSPC]; /* array of include file names
+char incfn[MAXINC][PATH_MAX]; /* array of include file names
*/
int incline[MAXINC]; /* include line number
*/
*/
int fflag; /* -f(f), relocations flagged flag
*/
-addr_t laddr; /* address of current assembler line
+Addr_T laddr; /* address of current assembler line
* or value of .if argument
*/
-addr_t fuzz; /* tracks pass to pass changes in the
+Addr_T fuzz; /* tracks pass to pass changes in the
* address of symbols caused by
* variable length instruction formats
*/
*/
char stb[NSBTL]; /* Subtitle string buffer
*/
+char optsdcc[NINPUT]; /* sdcc compile options
+ */
int flat24Mode; /* non-zero if we are using DS390 24 bit
* flat mode (via .flat24 directive).
*/
* char m_id[NCPS]; Mnemonic
* char m_type; Mnemonic subtype
* char m_flag; Mnemonic flags
- * addr_t m_valu; Value
+ * Addr_T m_valu; Value
* };
*/
struct mne *mnehash[NHASH];
* char s_flag; Symbol flags
* struct area *s_area; Area line, 0 if absolute
* int s_ref; Ref. number
- * addr_t s_addr; Address
+ * Addr_T s_addr; Address
* };
*/
struct sym sym[] = {
* struct area *a_ap; Area link
* char a_id[NCPS]; Area Name
* int a_ref; Reference number
- * addr_t a_size; Area size
- * addr_t a_fuzz; Area fuzz
+ * Addr_T a_size; Area size
+ * Addr_T a_fuzz; Area fuzz
* int a_flag; Area flags
* };
*/