GithubHelp home page GithubHelp logo

napobear / dpa Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 97 KB

The Didactic DEC PDP-8 and DG Nova Assembler

License: GNU General Public License v2.0

Makefile 2.76% C 73.07% Lex 6.79% Yacc 17.38%
retrocomputing pdp-8 data-general data-general-nova cross-assembler

dpa's Introduction

CREDITS
-------
http://www.telegraphics.com.au/sw/info/dpa.html

    This file is part of The Didactic PDP-8 Assembler
    Copyright (C) 2002-5 Toby Thain, [email protected]

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by  
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License  
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

README
------

This program is intended to be a basic example of an assembler for a simple
architecture, written with the aid of flex and bison. Being small, the
assembler may lend itself to learning, extension and modification by
interested parties. While I do not own a PDP-8 (more's the pity), this
architecture was chosen partly for its similarity to another DeCastro design,
the DG Nova 3. The project was mainly inspired by my friend Emil Sarlija 
( http://www.chookfest.net/ ) who owns two Nova 3 computers and needed an assembler.

PDP-8

The PDP-8 assembler ("p8a") input syntax is compatible with the assembler 
described in the "PAL III Symbolic Assembler PDP-8 Programming Manual,"
Digital Equipment Corporation publication DEC-08-ASAC-D
(see http://www.pdp8.net/pdp8cgi/query_docs/view.pl?id=31 
or http://highgate.comm.sfu.ca/~djg/htdocs/cgi-bin/tifftopdf.cgi/dec-08-asac-d.pdf?loc=newstuff
or http://www.pdp8.net/pdp8cgi/query_docs/tifftopdf.pl/pdp8docs/dec-08-asac-d.pdf )

Binary object output is in RIM or BIN format. Some of the output routines
are based on parts of Douglas Jones' PDP-8 assembler
( ftp://ftp.cs.uiowa.edu/pub/jones/pdp8/pal.c.Z ).

The "verbose" mode (-v) includes a disassembler with a "diagrammatic" output
format designed to show each instruction's physical layout (in particular
the microcoded instructions).

DG NOVA

An assembler for DG Nova architecture is also included. This follows the
User's Manual (Programmer's Reference) for the DG Nova range of computers.
The instruction set, addressing modes and syntax are complete, but
the Nova native object file format (RB) is only partially implemented.
(An RB format file dump utility, dumprb, is included in the Nova directory.)

Nova bootstrap format is also supported with the -b flag;
this is program of up to 191 words assembled at an absolute origin of 0100
(see Nova Programmer's Reference, page VI-7, for more details).

Notes on building

This program has been built and tested under NetBSD 1.5/SPARC, 
Linux/Alpha (Debian 2.2), OS X 10.2,3,4 (PowerPC G4), NEXTSTEP 3.3/HPPA.

1. GNU make is required 
2. flex ( http://www.gnu.org/directory/flex.html ) is required, 
as the lexical analysers use features not available in traditional UNIX lex.

Please contact the author with any bug reports, suggestions or comments. 
The latest version is always available from the Subversion repository at
http://www.telegraphics.com.au/svn/dpa/trunk/

dpa's People

Contributors

napobear avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.