This document details the MACRO-10 symbolic assembly program for the PDP-10, a two-pass, device-independent assembler designed to run in a minimum of 5K core memory. Its primary function is to translate source program statements into binary machine code, manage symbolic and numeric values, and assign memory addresses (absolute or relocatable). It also generates program listings, including error notifications.
Key features and functionalities described include:
Pseudo-Operations (Pseudo-ops): A comprehensive list of assembler directives that control various processing operations. These include:
RELOC for relocatable and LOC for absolute addressing.RADIX, DEC, OCT, RADIX50, EXP, and Z for entering data in different formats and bases.BYTE for variable-length bytes, POINT for byte pointers, IOWD for I/O transfer words, and XWD for two half-words.ASCII, ASCIZ, and SIXBIT for various character string formats.# for single locations and BLOCK for blocks of memory.IF statements (IFE, IFG, IFIDN, etc.) to include or exclude parts of the source code based on specified conditions.END to terminate assembly, PASS2 to switch to the second assembly pass, LIT and VAR for literal/variable assembly, PURGE to delete symbols, and various listing control statements (TITLE, PAGE, XLIST, LALL, etc.).OPDEF for defining user-specific operators and SYN for creating symbol synonyms.Macros: Detailed explanation of macro definition using DEFINE, macro calls with argument substitution, generation of unique created symbols (..hijk), concatenation with apostrophes, and indefinite repeat operations (IRP, IRPC, STOPI).
EXTERN, INTERN, and ENTRY to facilitate communication and linking between different program segments and libraries.Appendices further summarize pseudo-ops, character interpretations, expression evaluation, text codes, RADIX 50 representation, macro rules, and operating instructions.
Site structure and layout ©2025 Majenko Technologies