Mail Archives: djgpp/1996/06/24/11:17:16
| Xref: | news2.mv.net comp.os.msdos.djgpp:5328
|
| Newsgroups: | comp.os.msdos.djgpp
|
| From: | hk AT bercos DOT de (Helge Kruse)
|
| Subject: | GAS Line Length
|
| Sender: | usenet AT bercos DOT de
|
| Organization: | Bercos GmbH
|
| Message-ID: | <DtI6Ks.AzG@bercos.de>
|
| Date: | Mon, 24 Jun 1996 17:55:09 GMT
|
| Lines: | 56
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I tried to build an large macro in an GAS source file.
This macro defines a label and approximatly 15 .word/.long
pseudo instructions. This won't be done correctly, since
GAS cuts the line and only compiles the remaining ops.
I think GAS should at least complain about such a line.
Helge
--
#ifndef VxD_Major
#define VxD_Major 1
#endif
#ifndef VxD_Minor
#define VxD_Minor 0
#endif
#ifndef Control_Proc
#define Control_Proc 0
#endif
#ifndef V86_API_Proc
#define V86_API_Proc 0
#endif
#ifndef PM_API_Proc
#define PM_API_Proc 0
#endif
#ifndef V86_API_CSIP
#define V86_API_CSIP 0
#endif
#ifndef PM_API_CSIP
#define PM_API_CSIP 0
#endif
#ifndef Service_Table_Ptr
#define Service_Table_Ptr 0
#endif
#ifndef Service_Table_Size
#define Service_Table_Size 0
#endif
#define Declare_DDB \
.word 0,0x30a,0x8000 ;\
.short VxD_Major,VxD_Minor ;\
.word 0 ;\
.ascii "12345678" ;\
.word 0 ;\
.word Control_Proc ;\
.word V86_API_Proc ;\
.word PM_API_Proc ;\
.word V86_API_CSIP ;\
.word PM_API_CSIP ;\
.word 0 ;\
.word Service_Table_Ptr ;\
.word Service_Table_Size
Declare_DDB
- Raw text -