Xinu7/man/man1/cvt.doc
CVT(1) Xinu Programmer's Manual CVT(1)
NAME
cvt - Convert disable/restore assembler macros to standard
assembler
SYNOPSIS
cvt _i_n_f_i_l_e
DESCRIPTION
_C_v_t is a special-purpose filter used to convert nonstandard
assembler language code to standard form. The nonstandard
code arises from the _d_i_s_a_b_l_e and _r_e_s_t_o_r_e macro definitions,
which insert literal text into the assembler language output
of _c_c_1_1 without resolving symbolic references. When
invoked, _c_v_t reads the assembler language contained in
_i_n_f_i_l_e, remembering the offset of the local variable _p_s. It
replaces symbolic references to _p_s with the correct offset.
_C_v_t detects possible misuse of _d_i_s_a_b_l_e and _r_e_s_t_o_r_e by
returning a nonzero exit code if it finds references to
local variable _p_s without finding a definition.
BUGS
When multiple procedures have been compiled into one assem-
bler file, _c_v_t may fail to detect missing declarations of _p_s
in later procedures because it treats the entire input file
as a single text file.
Version 6b Printed 1/12/87 1