Affiliation:
1. Carnegie-Mellon University, Pittsburgh, PA
Abstract
This paper describes the final phase of an Ada compiler which produces code for the VAX 11/780 running the Unix operating system. Problems encountered in the implementation of subprogram calls, parameter passing, function return values, and exception handling and discussed and their solutions outlined.An underlying requirement for the code generator has been speed of implementation consistent with being a test bed for an Ada implementation. To accomplish this, a common model for the target environment has been assumed. The assumptions include: the VAX is a stack machine, a single address space is used, only the general case is implemented (no optimization of special cases), the hardware does as much work as possible, run time routines for lengthy code sequences are acceptable, and the conventions given in the VAX architecture, hardware, and software manuals are used.The code generator has been running on PDP-10 with Tops-10, producing a VAX assembly language source program as output. it has been available to local users since the beginning of 1980.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference10 articles.
1. Digital Equipment Corporation. VAX-11/780 Architecture Handbook. 1977.]] Digital Equipment Corporation. VAX-11/780 Architecture Handbook. 1977.]]
2. Digital Equipment Corporation. VAX-11 Software Handbook. 1977.]] Digital Equipment Corporation. VAX-11 Software Handbook. 1977.]]
3. Digital Equipment Corporation. VAX-11/780 Hardware Handbook. 1977.]] Digital Equipment Corporation. VAX-11/780 Hardware Handbook. 1977.]]
4. A runtime representation for Ada variables and types