From e1683b1e2802dba3af9a508ef756d24a165fa731 Mon Sep 17 00:00:00 2001 From: marcobaye Date: Sat, 21 Oct 2017 20:23:22 +0000 Subject: [PATCH] more minor comment changes git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@93 4df02467-bbd4-4a76-a152-e7ce94205b78 --- src/output.h | 14 ++++++++++++-- src/pseudoopcodes.c | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/output.h b/src/output.h index 6f019b2..bd8434d 100644 --- a/src/output.h +++ b/src/output.h @@ -35,10 +35,14 @@ extern struct vcpu CPU_state; // current CPU state FIXME - restrict visibility t // Prototypes +// clear segment list and disable output +//TODO - does this belong to outbuf stuff? +extern void Output_passinit(void); + +// outbuf stuff: + // alloc and init mem buffer (done later) extern void Output_init(signed long fill_value); -// clear segment list and disable output -extern void Output_passinit(void); // skip over some bytes in output buffer without starting a new segment // (used by "!skip", and also called by "!binary" if really calling // Output_byte would be a waste of time) @@ -49,6 +53,9 @@ extern void (*Output_byte)(intval_t); // define default value for empty memory ("!initmem" pseudo opcode) // returns zero if ok, nonzero if already set extern int output_initmem(char content); + +// move elsewhere: + // Output 8-bit value with range check extern void output_8(intval_t); // Output 16-bit value with range check big-endian @@ -63,6 +70,9 @@ extern void output_le24(intval_t); extern void output_be32(intval_t); // Output 32-bit value (without range check) little-endian extern void output_le32(intval_t); + +// outfile stuff: + // try to set output format held in DynaBuf. Returns zero on success. extern int outputfile_set_format(void); extern const char outputfile_formats[]; // string to show if outputfile_set_format() returns nonzero diff --git a/src/pseudoopcodes.c b/src/pseudoopcodes.c index 9c06d67..064168e 100644 --- a/src/pseudoopcodes.c +++ b/src/pseudoopcodes.c @@ -618,7 +618,7 @@ static enum eos po_enum(void) // now GotByte = illegal char intval_t step = 1; ALU_optional_defined_int(&step); -Throw_serious_error("Not yet"); // FIXME +Throw_serious_error("Not yet"); // FIXME return ENSURE_EOS; } #endif