Xinu7/man/man1/subEIS.doc
SUBEIS(1) Xinu Programmer's Manual SUBEIS(1)
NAME
subEIS - substitute code for LSI 11 extended instructions
SYNOPSIS
subASH
subASHC
subMUL
subDIV
DESCRIPTION
These programs read an LSI 11 assembly language program from
the standard input, replace opcodes from the Extended
Instruction Set (EIS) with a call to a library subroutine
that simulates them, and write the new listing on the stan-
dard output. They are used mainly as filters for compiling
LSI 11/02 programs for machines without the EIS chip.
Each program checks for a different instruction; _s_u_b_M_U_L
checks for (and replaces) _m_u_l instructions, _s_u_b_D_I_V checks
for (and replaces) _d_i_v instructions, _s_u_b_A_S_H checks for (and
replaces) _a_s_h instructions, and _s_u_b_A_S_H_C checks for (and
replaces) _a_s_h_c instructions. The resulting assembly
language program must be loaded with the library _l_i_b_e_i_s._a ,
which contains the routines called.
SEE ALSO
cc11(1), EIS(2)
DIAGNOSTICS
The condition codes are correctly set by the above calling
sequence.
BUGS
Setting the condition codes accounts for most of the work
these routines perform. Unfortunately, they are so slow
that most programs, including Xinu are unusable on an 11/2
without the EIS hardware.
Version 6b Printed 1/12/87 1