X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fasmcode.h;h=2db1ecbd469bd134cbbc8977bf0413e634764c63;hb=aef8789873bd008d42aa50330ca98488fad91b31;hp=1dee13815e4d5501a616e61d3582c10099e770d3;hpb=9d1940a124482b8c77e4c2a79c1d2a9c206bcf94;p=cc65 diff --git a/src/cc65/asmcode.h b/src/cc65/asmcode.h index 1dee13815..2db1ecbd4 100644 --- a/src/cc65/asmcode.h +++ b/src/cc65/asmcode.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2000 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 2000-2001 Ullrich von Bassewitz */ +/* Wacholderweg 14 */ +/* D-70597 Stuttgart */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -62,15 +62,17 @@ typedef unsigned CodeMark; -void AddCodeHint (const char* Hint); -/* Add an optimizer hint */ - CodeMark GetCodePos (void); /* Get a marker pointing to the current output position */ void RemoveCode (CodeMark M); /* Remove all code after the given code marker */ +void MoveCode (CodeMark Start, CodeMark End, CodeMark Target); +/* Move the code between Start (inclusive) and End (exclusive) to + * (before) Target. + */ + void WriteOutput (FILE* F); /* Write the final output to a file */