
Computer Programming
A Mixed Language Approach
- 3rd Edition - January 1, 1964
- Imprint: Academic Press
- Authors: Marvin L. Stein, William D. Munro
- Language: English
- Paperback ISBN:9 7 8 - 1 - 4 8 3 2 - 5 0 4 5 - 8
- eBook ISBN:9 7 8 - 1 - 4 8 3 2 - 5 8 4 0 - 9
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… Read more

Purchase options

Institutional subscription on ScienceDirect
Request a sales quoteComputer 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.
PrefaceIntroduction 0-0. General Description of a Modern Digital Computer 0-1. Functional Description of a Modern Digital Computer 0-2. Coding, ProgrammingChapter 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 ExercisesChapter 2 Machine Organization 2-0. Introduction 2-1. Storage Registers 2-2. Arithmetic 2-3. Control Registers 2-4. Input-Output ExercisesChapter 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 ExercisesChapter 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 ExercisesChapter 5 Nonarithmetic Operations 5-0. Introduction 5-1. Stop Instructions 5-2. Jump Instructions 5-3. Resolution of Register Content 5-4. Search Instructions ExercisesChapter 6 Subroutines 6-0. Introduction 6-1. Subroutine Linkage and Return Jumps 6-2. Subroutine Assembly ExercisesChapter 7 Input-Output 7-0. Introduction 7-1. Examples of Input-Output Coding for the CDC 1604 7-2. An Input-Output Language ExercisesChapter 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 ExercisesChapter 9 Fortran; Mixed Language Programs 9-0. Introduction 9-1. Fortran Programs 9-2. Programs in Mixed Languages 9-3. Executive Programs ExercisesAppendix 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 TwoAppendix C Flex Code Flex Code CDC 1604 On-Line Typewriter Code CDC 1604 Magnetic Tape BCD Code (CDC 1604) 1612 Printer Code Punched Card CodesAppendix D CODAP Assembly Program Location Term Operation Code Term "b" Term "m" Term "m" Constants Symbolic "m" Terms "m" Term for Pseudo Ops Remarks Pairing RulesAppendix E Fortran Symbolic AddressesAppendix F Fortran 1. Operations, Numbers, Symbolic Names 2. Available Functions 3. Fortran Statements 4. Fortran Input/Output StatementsAppendix G Miscellanedus SubroutinesAnswers to Selected Odd ExercisesSubject Index
- Edition: 3
- Published: January 1, 1964
- No. of pages (eBook): 476
- Imprint: Academic Press
- Language: English
- Paperback ISBN: 9781483250458
- eBook ISBN: 9781483258409
Read Computer Programming on ScienceDirect