Manual Page Result
0
Command: lasm | Section: 10 | Source: UNIX v10 | File: lasm.10
LASM(10.1) LASM(10.1)
NAME
lasm - lde preprocessor
SYNOPSIS
lasm
DESCRIPTION
Lasm reads standard input and writes lde format (10.5) to standard out-
put. The input format is a sugaring of lde format in the direction of
PALASM (see Intel) in terms of ease of use. '/' is reserved for logi-
cal negation and can preceed identifiers or expressions. Identifiers
must be alphanumeric only - trailing plus and minus signs a la lde are
not allowed.
Pins are declared in a .p area as a sequence of identifiers with or
without preceeding slashes. Lasm uses this area and the preceeding
".tt" area to output .i and .o areas for lde. A '4' in the ".tt" area
indicates a feedback term; the pin is declared as input in the .o area,
while an identifier with the same sense but inverted capitalization is
declared locally in the .i area. Pins names may be used in expressions
or assignment statements without regard to their logical sense at dec-
laration. Lasm supplies the appropriate !, -, capitalization, etc.,
for lde.
Lasm declares output enables automatically from information in the
".tt" area. Fields declared in the .f area are duly noticed and appro-
priate feedback terms and output enables are output. Logical inversion
of field f of width p is accomplished via ((2**p-1 )^f).
output=expression;
sets the output enables in addition to doing the assignment.
output{expression0} =expression1;
uses expression0 as the output enable term.
Lasm ignores '#' and characters following until end-of-line.
SEE ALSO
lde(10.1) pal(10.1)
FILES
BUGS
This program is a hack. The proper thing to do is fix lde.
UCDS LASM(10.1)