Biomac: Block structured programming using PDP‐11 assembler language
Authors:
- 27 October 1975
- journal article
- Published by Wiley in Software: Practice and Experience
- Vol. 5 (4) , 359-374
Abstract
Users of small computers must often program in assembler language. Macros are described which assist in the construction of block structured programs in assembler language. The macros are used in practical day‐to‐day programming in a cardiac electrophysiology laboratory in which the coarse grained control provided by the local FORTRAN compiler is not sufficient for, and even hinders, the writing of clear, easy to understand programs. The macros provide nestable control structures in place of the less structured transfers of conventional assembler language. The arithmetic and input/output control provided by the architecture of the machine is left fully available. The control structures implemented include conditional (IF, CASE), iteration (WHILE, REPEAT/UNTIL, FOR) and subroutine (PROC, CALL, etc.) constructs. No control of variable scope is provided. The macro implementation is discussed along with the code generated. There is a discussion of architectural features which allow the macros to be independent of specific register usage and addressing mode. Experience with use of the macros in a high‐speed, real‐time data acquisition and display environment is presented. We conclude that these macros are easy to use and assist in program readability and documentation.Keywords
This publication has 12 references indexed in Scilit:
- PIT: A macro-implemented implementation languageSoftware: Practice and Experience, 1972
- BLISSCommunications of the ACM, 1971
- The programming language pascalActa Informatica, 1971
- An algol-like assembly language for a small computerSoftware: Practice and Experience, 1971
- ETC1971
- BCPL1969
- SAL1969
- Letters to the editor: go to statement considered harmfulCommunications of the ACM, 1968
- PL360, a Programming Language for the 360 ComputersJournal of the ACM, 1968
- The ML/I macro processorCommunications of the ACM, 1967