comparison lwlink/lwlink.h @ 187:857cb407229e

Added LWEX0 (LWOS simple binary) target to lwlink
author lost
date Sun, 22 Mar 2009 04:24:39 +0000
parents b89adfb0d174
children 048ebb85f6ef
comparison
equal deleted inserted replaced
186:bc2fae9438eb 187:857cb407229e
26 26
27 #include "expr.h" 27 #include "expr.h"
28 28
29 #define OUTPUT_DECB 0 // DECB multirecord format 29 #define OUTPUT_DECB 0 // DECB multirecord format
30 #define OUTPUT_RAW 1 // raw sequence of bytes 30 #define OUTPUT_RAW 1 // raw sequence of bytes
31 #define OUTPUT_LWEX0 2 // LWOS LWEX binary version 0
31 32
32 typedef struct symtab_s symtab_t; 33 typedef struct symtab_s symtab_t;
33 struct symtab_s 34 struct symtab_s
34 { 35 {
35 unsigned char *sym; // symbol name 36 unsigned char *sym; // symbol name
137 int nlines; // number of lines in the script 138 int nlines; // number of lines in the script
138 struct scriptline_s *lines; // the parsed script lines (section) 139 struct scriptline_s *lines; // the parsed script lines (section)
139 int padsize; // the size to pad to, -1 for none 140 int padsize; // the size to pad to, -1 for none
140 char *execsym; // entry point symbol 141 char *execsym; // entry point symbol
141 int execaddr; // execution address (entry point) 142 int execaddr; // execution address (entry point)
143 int stacksize; // stack size
142 } linkscript_t; 144 } linkscript_t;
143 145
144 #ifndef __script_c_seen__ 146 #ifndef __script_c_seen__
145 extern linkscript_t linkscript; 147 extern linkscript_t linkscript;
146 #endif 148 #endif