The SMLNJ_PSEUDO_OP_TYPE signature

Pseudo ops used in the SML/NJ compiler. All these directives describe how to layout data in the generated machine code.


Synopsis

signature SMLNJ_PSEUDO_OP_TYPE

Interface

datatype pseudo_op
  = MARK
  | REALCONST of (Label.label * string)
  | STRINGCONST of (Label.label * int * string)
  | JUMPTABLE of {base : Label.label, targets : Label.label list}

Description

datatype pseudo_op
MARK
Is a descriptor that contains the offset to the beginning of a code string. This allows pointers into the middle of strings, and the ability to embed immutable heap objects inside large strings.
REALCONST(lab, f)
Deposits an aligned, 64-bit, IEEE floating point value at the label lab. A tag, and MARK are deposited before the label and floating point value.
STRINGCONST(lab, size, s)
Deposits the string s at the label lab. A tag, and MARK are deposited before the label and string.
JUMPTABLE(base, labs)
Deposits a jump table at the label base. Each entry is the difference between the target label and base.



See Also

LABEL

  Submit a comment on this page  

[ INDEX | TOP | Parent | Root ]

Author: Lal George
Last Modified: October 16, 1996
Copyright © 1996 Bell Laboratories