OnWorks favicon

macro8x - Online in the Cloud

Run macro8x in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command macro8x that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



macro8x - PDP8 macro assembler


macro8x [ -d -m -p -r -x ] inputfile inputfile...


This manual page documents briefly the macro8x command. This is a cross-assembler to for
PDP/8 assembly language programs. It will produce an output file in bin format, rim
format, and using the appropriate pseudo-ops, a combination of rim and bin formats. A
listing file is always produced and with an optional symbol table and/or a symbol cross-
reference (concordance). The permanent symbol table can be output in a form that may be
read back in so a customized permanent symbol table can be produced. Any detected errors
are output to a separate file giving the filename in which they were detected along with
the line number, column number and error message as well as marking the error in the
listing file.
The following file name extensions are used:
.pal source code (input)
.lst assembly listing (output)
.bin assembly output in DEC's bin format (output)
.rim assembly output in DEC's rim format (output)
.err assembly errors detected (if any) (output)
.prm permanent symbol table in form suitable for reading after the EXPUNGE pseudo-


-d Dump the symbol table at end of assembly
-m Print macro expansions.
-p Generate a file with the permanent symbols in it.
(To get the current symbol table, assemble a file than has only
a $ in it.)
-r Produce output in rim format (default is bin format)
-x Generate a cross-reference (concordance) of user symbols.


Assembler error diagnostics are output to an error file and inserted in the listing file.
Each line in the error file has the form

<filename>(<line>:<col>) : error: <message> at Loc = <loc>

An example error message is:

bintst.pal(17:9) : error: undefined symbol "UNDEF" at Loc = 07616

The error diagnostics put in the listing start with a two character error code (if
appropriate) and a short message. A carat '^' is placed under the item in error if

An example error message is:

17 07616 3000 DCA UNDEF
UD undefined ^
18 07617 1777 TAD I DUMMY

When an indirect is generated, an at character '@' is placed after the the instruction
value in the listing as an indicator as follows:

14 03716 1777@ TAD OFFPAG

Undefined symbols are marked in the symbol table listing by prepending a '?' to the
symbol. Redefined symbols are marked in the symbol table listing by prepending a '#' to
the symbol. Examples are:

#REDEF 04567
SWITCH 07612
?UNDEF 00000

Refer to the (source) code for the diagnostic messages generated.

Use macro8x online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 2
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 3
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 4
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 5
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 6
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • More »

Linux commands