Misplaced Pages

VAX MACRO

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

VAX MACRO is the computer assembly language implementing the VAX instruction set architecture for the OpenVMS operating system, originally released by Digital Equipment Corporation (DEC) in 1977.

#697302

5-616: The syntax, directives, macro language, and lexical substitution operators of VAX MACRO formerly appeared in MACRO-11 , the assembler for the PDP-11 series of computers. The MACRO-32 assembler supported the VAX processors developed and manufactured by DEC. It ran under the VMS operating system and produced object files suitable for the VMS linker . The MACRO-32 assembler and linker were bundled with

10-777: Is also available for the Intel Itanium architecture, and for x86-64 . MACRO-11 MACRO-11 is an assembly language with macro facilities, designed for PDP-11 minicomputer family from Digital Equipment Corporation (DEC). It is the successor to Program Assembler Loader ( PAL-11R ), an earlier version of the PDP-11 assembly language without macro facilities. MACRO-11 was supported on all DEC PDP-11 operating systems. PDP-11 Unix systems also include an assembler (named as ), structurally similar to MACRO-11, but with different syntax and fewer features. The MACRO-11 assembler (and programs created by it) could also run under

15-567: The RSX-11 compatibility mode of OpenVMS on VAX . A complete "Hello, World!" program in PDP-11 macro assembler, to run under RT-11 : The .MCALL pseudo-op warns the assembler that the code will be using the .TTYOUT and .EXIT macros. The .TTYOUT and .EXIT macros are defined in the standard system macro library to expand to the EMT instructions to call the RT-11 monitor to perform

20-648: The operating system. To port VMS to the DEC Alpha , VAX MACRO was implemented for the Alpha architecture. Since the Alpha used a different instruction set than the VAX, MACRO-32 was implemented as a compiler , compiling VAX assembly language into Alpha instructions. The Alpha AXP chips have their own native instruction set architecture, the OpenVMS assembler for Alpha assembly code is named MACRO-64 . A MACRO-32 compiler

25-599: The requested functions. If this file is HELLO.MAC , the RT-11 commands to assemble, link and run (with console output shown) are as follows: (The RT-11 command prompt is " . ") For a more complicated example of MACRO-11 code, two examples chosen at random are Kevin Murrell's KPUN.MAC, or Farba Research's JULIAN routine. More extensive libraries of PDP-11 code can be found in the Metalab freeware and Trailing Edge archives. This programming-language -related article

#697302