Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /MLRISC/trunk/instructions/pseudoOps.sig
ViewVC logotype

Annotation of /MLRISC/trunk/instructions/pseudoOps.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download) (as text)
Original Path: sml/trunk/src/MLRISC/instructions/pseudoOps.sig

1 : monnier 409 (* pseudo-ops.sml --- description of assembly pseudo-ops
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Bell Laboratories.
4 :     *
5 :     *)
6 :    
7 :     signature PSEUDO_OPS = sig
8 :     type pseudo_op
9 :    
10 :     val toString : pseudo_op -> string
11 :    
12 :     val emitValue : {pOp:pseudo_op, loc:int, emit:Word8.word -> unit} -> unit
13 :     (* emit value of pseudo op give current location counter and output
14 :     * stream. The value emitted should respect the endianness of the
15 :     * target machine.
16 :     *)
17 :    
18 :     val sizeOf : pseudo_op * int -> int
19 :     (* Size of the pseudo_op in bytes given the current location counter
20 :     * The location counter is provided in case some pseudo ops are
21 :     * dependent on alignment considerations.
22 :     *)
23 :    
24 :     val adjustLabels : pseudo_op * int -> bool
25 :     (* adjust the value of labels in the pseudo_op given the current
26 :     * location counter.
27 :     *)
28 :    
29 :     end
30 :    
31 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0