Computer Programming - 3rd Edition - ISBN: 9781483227207, 9781483258409

Computer Programming

3rd Edition

A Mixed Language Approach

Authors: Marvin L. Stein William D. Munro
eBook ISBN: 9781483258409
Imprint: Academic Press
Published Date: 1st January 1964
Page Count: 476
Sales tax will be calculated at check-out Price includes VAT/GST
Price includes VAT/GST

Institutional Subscription

Secure Checkout

Personal information is secured with SSL technology.

Free Shipping

Free global shipping
No minimum order.


Computer Programming: A Mixed Language Approach describes computer programming from a mixed language perspective. More specifically, it examines how to make effective use of the hardware and software aspects of the total system using the mixed languages that are a composite of the absolute machine languages and the more facile problem-oriented languages. In addition to the absolute machine language required by the computer "hardware" and the problem-oriented language provided by the "software" of symbolic assembly programs and compilers, a third kind of programming language is considered, namely, the symbolic machine language.

Comprised of nine chapters, this book illustrates mixed language programming using Fortran and the Fortran Symbolic Assembly Program. The discussion begins by describing a modern digital computer and introducing the general theory of number systems. Subsequent chapters focus on the way in which computing machines are organized to perform their functions; how a computer executes the sequence of instructions and performs a given calculation, a process known as coding; and non-arithmetic instructions used on computers. Subroutines, input-output, and assembly of complete programs are also explored. The final chapter is devoted to Fortran and programs written completely in Fortran, as well as executive programs and programs in mixed languages.

This monograph is intended for both professional programmers-to-be and non-professionals in computer programming.

Table of Contents



0-0. General Description of a Modern Digital Computer

0-1. Functional Description of a Modern Digital Computer

0-2. Coding, Programming

Chapter 1 Number Systems

1-0. Introduction and General Theory

1-1. Conversion of Integers from One Base to Another

1-2. Arithmetic, Base r

1-3. Binary Arithmetic

1-4. Octal Arithmetic

1-5. Fractions

1-6. Conversion of Mixed Numbers

1-7. Binary to Octal and Octal to Binary Conversion

1-8. Complement Arithmetic


Chapter 2 Machine Organization

2-0. Introduction

2-1. Storage Registers

2-2. Arithmetic

2-3. Control Registers

2-4. Input-Output


Chapter 3 Elementary Coding

3-0. Some Introductory Instructions

3-1. A Code for a Vector Sum

3-2. Code Assembly

3-3. Code Editing

3-4. Flow Charts

3-5. Timing the Code

3-6. Indexing

3-7. Nonunit Incrementation; Inner Loops


Chapter 4 Fixed and Floating Point Arithmetic; Scaling

4-0. Introduction

4-1. Integral Fixed Point Arithmetic

4-2. Scaling for Integral Fixed Point Operation

4-3. Fixed Point Integral Arithmetic in Control and Index Registers

4-4. Scaling for Fractional Fixed Point Operation

4-5. Scaling for Absolute Value Machines

4-6. Floating Point Arithmetic


Chapter 5 Nonarithmetic Operations

5-0. Introduction

5-1. Stop Instructions

5-2. Jump Instructions

5-3. Resolution of Register Content

5-4. Search Instructions


Chapter 6 Subroutines

6-0. Introduction

6-1. Subroutine Linkage and Return Jumps

6-2. Subroutine Assembly


Chapter 7 Input-Output

7-0. Introduction

7-1. Examples of Input-Output Coding for the CDC 1604

7-2. An Input-Output Language


Chapter 8 Assembly of Complete Programs

8-0. Introduction

8-1. Regional Assembly Techniques

8-2. Variations on the Assembly Theme

8-3. Fortran Symbolic Assembly Program


Chapter 9 Fortran; Mixed Language Programs

9-0. Introduction

9-1. Fortran Programs

9-2. Programs in Mixed Languages

9-3. Executive Programs


Appendix A Instructions on the CDC 1604

Category 1. Instructions ff b m (Operation Code, Index Register, Address)

Category 2. Instructions ff b k (Operation Code, Index Register, Shift Count)

Category 3. Instructions ff b y (Operation Code, Index Register, Operand)

Category 4. Instructions ff j m (Operation Code, Condition, Address)

Category 5. Instructions ff j z (Operation Code, Condition, Code)

Appendix B Table of Powers of Two

Appendix C Flex Code

Flex Code CDC 1604

On-Line Typewriter Code CDC 1604

Magnetic Tape BCD Code (CDC 1604)

1612 Printer Code

Punched Card Codes

Appendix D CODAP Assembly Program

Location Term

Operation Code Term

"b" Term

"m" Term

"m" Constants

Symbolic "m" Terms

"m" Term for Pseudo Ops


Pairing Rules

Appendix E Fortran Symbolic Addresses

Appendix F Fortran

1. Operations, Numbers, Symbolic Names

2. Available Functions

3. Fortran Statements

4. Fortran Input/Output Statements

Appendix G Miscellanedus Subroutines

Answers to Selected Odd Exercises

Subject Index


No. of pages:
© Academic Press 1964
Academic Press
eBook ISBN:

About the Author

Marvin L. Stein

William D. Munro

Ratings and Reviews