Debian Codegraph @

src/asm/output.h

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 //cxx . . $ `<file>/src/asm/output.h`/
2 // ACME - a crossassembler for producing 6502/65c02/65816 code.
3 // Copyright (C) 1998-2006 Marco Baye
4 // Have a look at "acme.c" for further info
5 //
6 // Output stuff
7 #ifndef output_H
8 #define output_Hcxx . . $ `src/asm/output.h:8:9`!
9
10 #include <stdio.h>
11 #include "config.h"cxx . . $ `<file>/src/asm/config.h`/
12
13
14 // Constants
15 #define MEMINIT_USE_DEFAULTcxx . . $ `src/asm/output.h:15:9`! 256
16
17
18 // Prototypes
19
20 // Init file format tree (is done early)
21 extern void Outputfile_initcxx . . $ Outputfile_init(49f6e7a06ebc5aa8).(void);
22 // alloc and init mem buffer, register pseudo opcodes (done later)
23 extern void Output_initcxx . . $ Output_init(1624ee8275b10bda).(signed long fill_value);
24 // clear segment list
25 extern void Output_passinitcxx . . $ Output_passinit(1624ee8275b10bda).(signed long start_addr);
26 // call this if really calling Output_byte would be a waste of time
27 extern void Output_fakecxx . . $ Output_fake(d4f767463ce0a6b3).(int size);
28 // Send low byte of arg to output buffer and advance pointer
29 extern void (*Output_bytecxx . . $ Output_byte.)(intval_tcxx . . $ intval_t#);
30 // Output 8-bit value with range check
31 extern void Output_8bcxx . . $ Output_8b(1624ee8275b10bda).(intval_tcxx . . $ intval_t#);
32 // Output 16-bit value with range check
33 extern void Output_16bcxx . . $ Output_16b(1624ee8275b10bda).(intval_tcxx . . $ intval_t#);
34 // Output 24-bit value with range check
35 extern void Output_24bcxx . . $ Output_24b(1624ee8275b10bda).(intval_tcxx . . $ intval_t#);
36 // Output 32-bit value (without range check)
37 extern void Output_32bcxx . . $ Output_32b(1624ee8275b10bda).(intval_tcxx . . $ intval_t#);
38 // Try to set output format held in DynaBuf. Returns whether succeeded.
39 extern boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! Output_set_output_formatcxx . . $ Output_set_output_format(c9857a73d68e59ba).(void);
40 // write smallest-possible part of memory buffer to file
41 extern void Output_save_filecxx . . $ Output_save_file(8d4262d45fc644ab).(FILEcxx . . $ FILE#* fd);
42 // send final output as binary
•43 extern char* Output_get_final_datacxx . . $ Output_get_final_data(3f31f7b3b80edb32).(int *length);
44 // Call when "*=EXPRESSION" is parsed
45 extern void Output_start_segmentcxx . . $ Output_start_segment(49f6e7a06ebc5aa8).(void);
46 // Show start and end of current segment
47 extern void Output_end_segmentcxx . . $ Output_end_segment(49f6e7a06ebc5aa8).(void);
48
49
50 #endif