home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / assembler / as / src / h / lit < prev    next >
Encoding:
Text File  |  1993-03-07  |  486 b   |  29 lines

  1. /*
  2.  * lit.h
  3.  * Copyright © 1992 Niklas Röjemo
  4.  */
  5.  
  6. #ifndef _lit_h
  7. #define _lit_h
  8.  
  9. #ifndef _reloc_h
  10. #include "reloc.h"
  11. #endif
  12.  
  13. typedef struct LITLIST {
  14.   struct LITLIST *next;
  15.   int             offset;
  16.   int             lineno;
  17. } LitList;
  18.  
  19. typedef struct LITINFO {
  20.   struct LITINFO *next;
  21.   LitList        *used;
  22.   Reloc           reloc; /* reloc.lineno == -1 until placed, then line number of LTORG */
  23. } LitInfo;  
  24.  
  25. void litInt(int size, Value value);
  26. void litOrg(LitInfo *li);
  27.  
  28. #endif
  29.