Computer Organization and Assembly Language Programming
- 1st Edition - May 10, 2014
- Latest edition
- Author: James L. Peterson
- Editor: Werner Rheinboldt
- Language: English
Computer Organization and Assembly Language Programming deals with lower level computer programming—machine or assembly language, and how these are used in the typical computer… Read more
Purchase options
Computer Organization and Assembly Language Programming deals with lower level computer programming—machine or assembly language, and how these are used in the typical computer system. The book explains the operations of the computer at the machine language level. The text reviews basic computer operations, organization, and deals primarily with the MIX computer system. The book describes assembly language programming techniques, such as defining appropriate data structures, determining the information for input or output, and the flow of control within the program. The text explains basic I/O programming concepts, technique of interrupts, and an overlapped I/O. The text also describes the use of subroutines to reduce the number of codes that are repetitively written for the program. An assembler can translate a program from assembly language into a loader code for loading into the computer's memory for execution. A loader can be of several types such as absolute, relocatable, or a variation of the other two types. A linkage editor links various small segments into one large segment with an output format similar to an input format for easier program handling. The book also describes the use of other programming languages which can offer to the programmer the power of an assembly language by his using the syntax of a higher-level language. The book is intended as a textbook for a second course in computer programming, following the recommendations of the ACM Curriculum 68 for Course B2 "Computers and Programming.
1 Basic Computer Organization
1.1 The Memory Unit
1.2 The Computation Unit
1.3 The Input/Output System
1.4 The Control Unit
1.5 Summary
2 The Mix Computer System
2.1 The MIX Computer Architecture
2.2 Machine Language
2.3 Introduction to Assembly Language
2.4 MIXAL: MIX Assembly Language
2.5 Summary
3 A Detailed Description Of The Mix Computer
3.1 Instruction Interpretation and Execution
3.2 Effective Operand Calculation
3.3 Partial Field Specifications
3.4 Loading Operators
3.5 Storing Operators
3.6 Integer Arithmetic Instructions
3.7 Floating Point Arithmetic Instructions
3.8 Comparison Operators
3.9 Jumps
3.10 Immediate Operators
3.11 Input/Output Instructions
3.12 Shift Instructions
3.13 Miscellaneous Commands
3.14 Binary Instructions
3.15 Instruction Execution Times
3.16 Summary
4 Assembly Language Programming Techniques
4.1 Arithmetic
4.2 Jumps
4.3 Loops
4.4 Arrays
4.5 Stacks
4.6 Character Manipulation
4.7 Lexical Scanning
4.8 Summary
5 Input/Output Programming
5.1 Basic I/O Programming Concepts
5.2 Programming MIX I/O Devices
5.3 A Simple I/O Program
5.4 Overlapped I/O
5.5 Blocking
5.6 Summary
6 Subroutines And Parameters
6.1 Subroutine Structure
6.2 Parameters
6.3 Call by Value, Reference, or Name
6.4 The Cost of Subroutines
6.5 Other Topics About Subroutines
6.6 Summary
7 Loaders And Linkers
7.1 Absolute Loaders
7.2 Relocatable Loaders
7.3 Variations of Loaders
7.4 Summary
8 Assemblers
8.1 Data Structures
8.2 General Flow of an Assembler
8.3 An Example Assembler
8.4 Summary
9 Systems Programs
9.1 Macro Assemblers
9.2 Conditional Assembly
9.3 Compilers and Higher Level Languages
9.4 Interpreters
9.5 Operating Systems
9.6 Other Systems Programs
9.7 Systems Programming Languages
9.8 Summary
10 Some Computer Architectures
10.1 A History of Computers in the United States
10.2 The PDP-8
10.3 The HP 2100
10.4 The PDP-11
10.5 The IBM SYSTEM 360 and SYSTEM 370
10.6 The Burroughs B5500
10.7 The CDC 6600
10.8 The INTEL 8080
10.9 Summary
Appendix A. References
Appendix B. The MIX Instruction Set
Appendix C. MIX Symbolic Opcodes—Alphabetic Order
Appendix D. Mix Symbolic Opcodes—Numeric Order
Appendix E. MIX Character Code
Index
- Edition: 1
- Latest edition
- Published: May 10, 2014
- Language: English
Read Computer Organization and Assembly Language Programming on ScienceDirect