Assembly language is a representation of machine language. In other words, each assembly language instruction translates to a machine language instruction. The advantage of assembly language is that its instructions are readable. For example, assembly language statements like MOV and ADD are more recognizable than sequences of 0s and 1s. Though assembly language statements are readable, the statements are still low-level. Another disadvantage of assembly language is that it is not portable. In other words, assembly language programs are specific to a particular hardware. Assembly language programs for a Mac will not work on a PC. But this can be an advantage for programmers who are targeting a specific platform and need full control over the hardware.
Table of Contents: | 1. Introduction 2. Basic Concepts Assembler language Basic concepts Using debug program | | 3. Assembler programming Assembly process More assembler programs Types of instructions 4. Assembler language instructions Transfer instructions Loading instructions Stack instructions Logic instructions Arithmetic instructions Jump instructions Instructions for cycles: loop Counting Instructions Comparison Instructions Flag Instructions 5. Interruptions and file managing Internal hardware interruptions External hardware interruptions Software interruptions Most Common interruptions 6. Macros and procedures |
INTRODUCTION
In the introductory section some of the elemental concepts regarding computer systems are mentioned, along with the concepts of the assembly language itself, and