|
|
1.1 ! root 1: .TH LASM 10.1 UCDS ! 2: .SH NAME ! 3: lasm \- lde preprocessor ! 4: .SH SYNOPSIS ! 5: .B lasm ! 6: .SH DESCRIPTION ! 7: .I Lasm ! 8: reads standard input and writes ! 9: .I lde ! 10: format (10.5) to standard output. ! 11: The input format is a sugaring of ! 12: .I lde ! 13: format in the direction of ! 14: .I PALASM ! 15: (see Intel) ! 16: in terms of ease of use. '/' is reserved for logical negation and can preceed identifiers or expressions. ! 17: Identifiers must be alphanumeric only \- trailing plus and minus signs a la ! 18: .I lde ! 19: are not allowed. ! 20: .PP ! 21: Pins are declared in a ! 22: .B ".p" ! 23: area as a sequence of identifiers with or ! 24: without preceeding slashes. ! 25: .I Lasm ! 26: uses this area and the preceeding ".tt" area to output ! 27: .B ".i" ! 28: and ! 29: .B ".o" ! 30: areas for ! 31: .I lde. ! 32: A '4' in the ".tt" area indicates a feedback term; ! 33: the pin is declared as input in the ! 34: .B ".o" ! 35: area, while an identifier ! 36: with the same sense but inverted capitalization is declared locally in ! 37: the ! 38: .B ".i" ! 39: area. ! 40: Pins names may be used in expressions or assignment statements without ! 41: regard to their logical sense at declaration. ! 42: .I Lasm ! 43: supplies the appropriate !, \-, capitalization, etc., for ! 44: .I lde. ! 45: .PP ! 46: .I Lasm ! 47: declares output enables automatically from information in the ".tt" area. ! 48: Fields declared in the ! 49: .B ".f" ! 50: area are duly noticed and appropriate ! 51: feedback terms and output enables are output. ! 52: Logical inversion of field ! 53: .I f ! 54: of width ! 55: .I p ! 56: is accomplished via ! 57: .RI (( 2 ** p \- 1 ! 58: .RI )^ f ). ! 59: .PP ! 60: .IR output = expression ; ! 61: .br ! 62: sets the output enables in addition to doing the assignment. ! 63: .br ! 64: .IR output { expression0 } ! 65: .RI = expression1 ; ! 66: .br ! 67: uses ! 68: .I expression0 ! 69: as the output enable term. ! 70: .PP ! 71: .I Lasm ! 72: ignores '#' and characters following until end-of-line. ! 73: .SH SEE ALSO ! 74: .PP ! 75: lde(10.1) pal(10.1) ! 76: .SH FILES ! 77: .SH BUGS ! 78: .PP ! 79: This program is a hack. The proper thing to do is fix ! 80: .I lde.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.