projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added strcmpi.c to project
[fw/sdcc]
/
as
/
hc08
/
asm.h
diff --git
a/as/hc08/asm.h
b/as/hc08/asm.h
index c7b1b6c7a85f21738317276ce787aa93765b5ff9..81881bdf374cc3914b9a98bf0b87cc357dab7a5b 100644
(file)
--- a/
as/hc08/asm.h
+++ b/
as/hc08/asm.h
@@
-8,7
+8,7
@@
* 721 Berkeley St.
* Kent, Ohio 44240
*
* 721 Berkeley St.
* Kent, Ohio 44240
*
- * 28-Oct-97 JLH:
+ * 28-Oct-97 JLH:
* - add proto for StoreString
* - change s_id from [NCPS] to pointer
* - change m_id from [NCPS] to pointer
* - add proto for StoreString
* - change s_id from [NCPS] to pointer
* - change m_id from [NCPS] to pointer
@@
-121,7
+121,7
@@
/* NB: for Flat24 extentions to work, Addr_T must be at least 24
/* NB: for Flat24 extentions to work, Addr_T must be at least 24
- * bits. This is checked at runtime when the .flat24 directive
+ * bits. This is checked at runtime when the .flat24 directive
* is processed.
*/
typedef unsigned int Addr_T;
* is processed.
*/
typedef unsigned int Addr_T;
@@
-145,6
+145,7
@@
struct area
struct area *a_ap; /* Area link */
char a_id[NCPS]; /* Area Name */
int a_ref; /* Ref. number */
struct area *a_ap; /* Area link */
char a_id[NCPS]; /* Area Name */
int a_ref; /* Ref. number */
+ Addr_T a_addr; /* Area address */
Addr_T a_size; /* Area size */
Addr_T a_fuzz; /* Area fuzz */
int a_flag; /* Area flags */
Addr_T a_size; /* Area size */
Addr_T a_fuzz; /* Area fuzz */
int a_flag; /* Area flags */
@@
-213,7
+214,7
@@
struct area
#define R_LSB 0x00 /* low byte */
#define R_MSB 0x80 /* high byte */
#define R_LSB 0x00 /* low byte */
#define R_MSB 0x80 /* high byte */
-#define R_BYT3 0x100 /* if R_BYTE is set, this is a
+#define R_BYT3 0x100 /* if R_BYTE is set, this is a
* 3 byte address, of which
* the linker must select one byte.
*/
* 3 byte address, of which
* the linker must select one byte.
*/
@@
-295,6
+296,7
@@
struct sym
struct area *s_area; /* Area line, 0 if absolute */
int s_ref; /* Ref. number */
Addr_T s_addr; /* Address */
struct area *s_area; /* Area line, 0 if absolute */
int s_ref; /* Ref. number */
Addr_T s_addr; /* Address */
+ Addr_T s_org; /* Start Address if absolute */
};
#define S_GBL 01 /* Global */
};
#define S_GBL 01 /* Global */
@@
-483,10
+485,10
@@
extern char tb[NTITL]; /* Title string buffer
*/
extern char stb[NSBTL]; /* Subtitle string buffer
*/
*/
extern char stb[NSBTL]; /* Subtitle string buffer
*/
-extern char optsdcc[NINPUT]; /* sdcc compile options
+extern char optsdcc[NINPUT]; /* sdcc compile options
*/
*/
-extern int flat24Mode; /* non-zero if we are using DS390 24 bit
- * flat mode (via .flat24 directive).
+extern int flat24Mode; /* non-zero if we are using DS390 24 bit
+ * flat mode (via .flat24 directive).
*/
extern char symtbl[]; /* string "Symbol Table"
*/
*/
extern char symtbl[]; /* string "Symbol Table"
*/
@@
-508,7
+510,7
@@
extern unsigned char ctype[128]; /* array of character types, one per
* ASCII character
*/
* ASCII character
*/
-extern char ccase[128]; /* an array of characters which
+extern char ccase[128]; /* an array of characters which
* perform the case translation function
*/
/*
* perform the case translation function
*/
/*
@@
-592,7
+594,7
@@
extern VOID usage();
extern char endline();
extern char get();
extern VOID getid();
extern char endline();
extern char get();
extern VOID getid();
-extern int getline();
+extern int
as_
getline();
extern int getmap();
extern char getnb();
extern VOID getst();
extern int getmap();
extern char getnb();
extern VOID getst();
@@
-675,10
+677,14
@@
extern void DefineCDB_Line();
extern char * cpu;
extern char * dsft;
extern char * cpu;
extern char * dsft;
-extern int hilo;
+extern int hilo;
extern struct mne mne[];
/* Machine dependent functions */
extern VOID minit();
extern struct mne mne[];
/* Machine dependent functions */
extern VOID minit();
-extern VOID machine(struct mne *);
+extern VOID machine(struct mne *);
+
+/* strcmpi.c */
+extern int as_strcmpi(const char *s1, const char *s2);
+extern int as_strncmpi(const char *s1, const char *s2, size_t n);