Debian Codegraph @

lib/mlrisc-lib/MLRISC/emit/instruction-emitter.sig

raw
1 (*
2 * This is the abstract interface for all instruction emitters, i.e.
3 * assemblers and machine code emitters.
4 *
5 * -- Allen
6 *)
7
8 signature INSTRUCTION_EMITTER =
9 sig
10
11 structure I : INSTRUCTIONS
12 structure S : INSTRUCTION_STREAM
13
14 (*
15 * Create a new stream. The argument is a list of
16 * annotations that can affect the output format.
17 *)
18 val makeStream : Annotations.annotations ->
19 (I.instruction,'b,'c,'d) S.stream
20
21 end