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.sig
ViewVC logotype

View of /sml/trunk/src/MLRISC/flowgraph/pseudo-ops.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, 7 months ago) by george
File size: 552 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.sig
 *
 * COPYRIGHT (c) 2001 Bell Labs, Lucent Technologies
 *
 * MLRISC pseudo-ops
 * Ties together the assembler and client pseudo-ops
 *)

signature PSEUDO_OPS = sig
  structure T : MLTREE
  structure Client : CLIENT_PSEUDO_OPS where AsmPseudoOps.T = T

  type pseudo_op = (T.labexp, Client.pseudo_op) PseudoOpsBasisTyp.pseudo_op

  val toString : pseudo_op -> string
  val emitValue : {pOp: pseudo_op, loc: int, emit: Word8.word -> unit} -> unit
  val sizeOf : pseudo_op * int -> int
  val adjustLabels : pseudo_op * int -> bool
end


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