comparison lwasm/lwasm.h @ 324:be63116281b0

Created lwlib folder and added first bits to it
author lost
date Tue, 09 Feb 2010 05:59:56 +0000
parents 473ed9b353eb
children 619fd6ad4ab9
comparison
equal deleted inserted replaced
323:473ed9b353eb 324:be63116281b0
20 */ 20 */
21 21
22 #ifndef ___lwasm_h_seen___ 22 #ifndef ___lwasm_h_seen___
23 #define ___lwasm_h_seen___ 23 #define ___lwasm_h_seen___
24 24
25 #include <lw_stringlist.h>
26
25 enum lwasm_output_e 27 enum lwasm_output_e
26 { 28 {
27 OUTPUT_DECB = 0, // DECB multirecord format 29 OUTPUT_DECB = 0, // DECB multirecord format
28 OUTPUT_RAW, // raw sequence of bytes 30 OUTPUT_RAW, // raw sequence of bytes
29 OUTPUT_OBJ, // proprietary object file format 31 OUTPUT_OBJ, // proprietary object file format
37 TARGET_6809 // target 6809 CPU (no 6309 ops) 39 TARGET_6809 // target 6809 CPU (no 6309 ops)
38 }; 40 };
39 41
40 typedef struct 42 typedef struct
41 { 43 {
42 int output_format; // output format 44 int output_format; // output format
43 int target; // assembly target 45 int target; // assembly target
44 int debug_level; // level of debugging requested 46 int debug_level; // level of debugging requested
47
48 lw_stringlist_t input_files; // files to assemble
45 } asmstate_t; 49 } asmstate_t;
46 50
47 #endif /* ___lwasm_h_seen___ */ 51 #endif /* ___lwasm_h_seen___ */