MACRO-11 is an assembly language with macro facilities for PDP-11 minicomputers from Digital Equipment Corporation (DEC). It is the successor to PAL-11 (Program Assembler Loader), an earlier version of the PDP-11 assembly language without macro facilities.
The MACRO-11 assembly language was designed for the PDP-11 minicomputer family. It was supported on all DEC PDP-11 operating systems. PDP-11 Unix systems also include an assembler (called 'as'), structurally similar to MACRO-11 but with different syntax and fewer features.
Programming example
Best Assembler For Mac
A complete 'Hello, world!' program in PDP-11 macro assembler, to run under RT-11 :
Welcome to the site of the flat assembler! This is a place dedicated to assembly language programming and contains many resources for both beginners and advanced assembly programmers. Timetoast's free timeline maker lets you create timelines online. Make educational timelines or create a timeline for your company website. How to make a timeline? Well, it's easy as toast!
.TITLE HELLO WORLD .MCALL .TTYOUT,.EXITHELLO:: MOV #MSG,R1 ;STARTING ADDRESS OF STRING1$: MOVB (R1)+,R0 ;FETCH NEXT CHARACTER BEQ DONE ;IF ZERO, EXIT LOOP .TTYOUT ;OTHERWISE PRINT IT BR 1$ ;REPEAT LOOPDONE: .EXIT
MSG: .ASCIZ /Hello, world!/ .END HELLO
If this file is HELLO.MAC, the RT-11 commands to assemble, link and run (with console output shown) are as follows:
.MACRO HELLOERRORS DETECTED: 0
.LINK HELLO
.R HELLOHello, world!.
(The RT-11 command prompt is '.')
For a more complicated example of MACRO-11 code, two examples chosen at random are Kevin Murrell's [http://www.ps8computing.co.uk/PDP11/kpun_mac.htm KPUN.MAC] , or Farba Research's [http://www.farbaresearch.com/examples/julian.htm JULIAN] routine. More extensive libraries of PDP-11 code can be found in the Metalab freeware and Trailing Edge archives. [ [http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/ Metalab] ] [ [http://pdp-11.trailing-edge.com/ Trailing Edge] ]
References
External links
* [http://computer-refuge.org/bitsavers/pdf/dec/pdp11/rsx11/RSX11M_V2/DEC-11-OIMRA-A-D_MACRO_75.pdf Original documentation (RSX11M_V2)]
* Michael Singer, PDP-11. Assembler Language Programming and Machine Organization, John Wiley & Sons, NY: 1980.
* Michael Singer, PDP-11. Assembler Language Programming and Machine Organization, John Wiley & Sons, NY: 1980.
Masm Assembler For Mac
TheMASM32 SDK version 11 is a working development environment forprogrammers who are interested in either learning or writing 32 bitMicrosoft assembler (MASM). The installation is an automated processthat installs the correct directory tree structure on the local driveof your choice.
Note that MASM32 will not install on a network drive.MASM32 comes with its own runtime library written fully in assemblerand an extensive range of macros for improved high level emulation andfaster development. It builds its own IMPORT libraries for the WindowsAPI functions and supplies its own include files for a very largenumber of API functions.
The default editor in MASM32 has been fully recoded fromscratch in MASM and it is smaller, faster and more powerful with two(2) separate scripting engines, a legacy version to maintain backwardscompatibility of existing scripts and a completely new one that is muchfaster and more powerful than its predecessor.
New CHM documentation and a wider range of 'Create New'project types directly supported by the new script engine from theeditor place a wider range of project types at your fingertips. Thereis also a new format PLUGIN system for the default editor as well asthe old one for backwards compatibility.
Note that MASM32 will not install on a network drive.MASM32 comes with its own runtime library written fully in assemblerand an extensive range of macros for improved high level emulation andfaster development. It builds its own IMPORT libraries for the WindowsAPI functions and supplies its own include files for a very largenumber of API functions.
The default editor in MASM32 has been fully recoded fromscratch in MASM and it is smaller, faster and more powerful with two(2) separate scripting engines, a legacy version to maintain backwardscompatibility of existing scripts and a completely new one that is muchfaster and more powerful than its predecessor.
New CHM documentation and a wider range of 'Create New'project types directly supported by the new script engine from theeditor place a wider range of project types at your fingertips. Thereis also a new format PLUGIN system for the default editor as well asthe old one for backwards compatibility.