The PSEUDO_OPS signature

Describes the pseudo-op directives required for the target machine.


Synopsis

signature PSEUDO_OPS

Interface

type 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) -> unit

Description

type pseudo_op

toString po
Converts the pseudo-op to a string.

emitValue {pOp, loc, emit}
Emits value of pseudo-op pOp given the current location counter loc and output stream emit. The values emitted should respect the endianness of the target machine.

sizeOf (po, i)
Returns the size of the pseudo_op in bytes given the current location counter. The location counter is provided in case some pseudo-ops are dependent on alignment considerations.

adjustLabels (po, i)
Adjust the value of labels in the pseudo-op given the current location counter.


See Also

LABEL

  Submit a comment on this page  

[ INDEX | TOP | Parent | Root ]

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