Basics of the "Unix v0" 'as' assembler syntax and PDP-7 coding: ASSEMBLER SYNTAX: ================= Anything from " to end of line is a comment. . is the location counter, where the next code or constant will be placed .. is the relocation counter (not currently handled) Symbol names start with a letter, and can contain letters and "." The dump of label values in "scans/sysmap" appears to show truncation after 8 characters (not currently enforced by the "as7" Perl script). symbol = expression Sets a built-in variable to this value without generating any machine code. as7 enters machine instructions and the indirect bit (i) into the variable table. label: is a label. single digit decimal numbers can be used as "local" labels, which are referenced with Nf and Nb: jmp 1b Jump back to the closest 1: label jmp 1f Jump forward to the closest 1: label multiple words can be entered on one line, separated by semi-colon. String literals seem to be two characters decorated with < > characters, e.g. "ab" is b. I'm guessing these are placed as pairs in one word. The syntax is confusing, because I've also seen ; 040 ; ; ;