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

SCM Repository

[smlnj] View of /sml/trunk/src/MLRISC/flowgraph/pseudo-ops-basis.sig
ViewVC logotype

View of /sml/trunk/src/MLRISC/flowgraph/pseudo-ops-basis.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 984 - (download) (as text) (annotate)
Wed Nov 21 19:00:08 2001 UTC (18 years ago) by george
File size: 588 byte(s)
  Implemented a complete redesign of MLRISC pseudo-ops. Now there
  ought to never be any question of incompatabilities with
  pseudo-op syntax expected by host assemblers.

  For now, only modules supporting GAS syntax are implemented
  but more should follow, such as MASM, and vendor assembler
  syntax, e.g. IBM as, Sun as, etc.
(* pseudo-ops-basis.sig
 *
 * COPYRIGHT (c) 2001 Bell Labs, Lucent Technologies
 *
 * Interface to host assembler. 
 * Will handle all constructors in PseudoOpsBasisTyp except for
 * client extensions (EXT)
 *)


signature PSEUDO_OPS_BASIS = sig
  structure T : MLTREE
  type 'a pseudo_op = (T.labexp, 'a) PseudoOpsBasisTyp.pseudo_op 

  val toString  : 'a pseudo_op -> string
  val lexpToString : T.labexp -> string
  val defineLabel : Label.label -> string

  val emitValue : {pOp: 'a pseudo_op, loc: int, emit: Word8.word -> unit} -> unit
  val sizeOf : 'a pseudo_op * int -> int
end


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