Debian Codegraph @

lib/mlrisc-lib/MLRISC/emit/emitterNEW.sig

raw
1 (* emitterNEW.sig
2 *
3 * COPYRIGHT (c) 1996 Bell Laboratories.
4 *
5 *)
6
7 (** emitter - emit assembly or machine code **)
8
9 (* Note:
10 * assembly code: Each of the emit functions outputs the
11 * appropriate assembly instructions to a file. The stream to
12 * this file can be hardwired.
13 *
14 * machine code: Each of the emit functions outputs the
15 * appropriate binary output to a bytearray created in a special
16 * structure reserved for this purpose.
17 *
18 *)
19 signature EMITTER_NEW = sig
20 structure I : INSTRUCTIONS
21 structure P : PSEUDO_OPS
22
23 val defineLabel : Label.label -> unit
24 val emitInstr : I.instruction * int IntHashTable.hash_table -> unit
25 val comment : string -> unit
26 val pseudoOp : P.pseudo_op -> unit
27 val init : int -> unit
28 end
29
30
31
32