Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Preface Introduction a Short History of Assemblers

Preface Introduction a Short History of Assemblers

Ratings:

5.0

(1)
|Views: 81|Likes:
Published by karltheking
Contents

Preface Introduction A Short History of Assemblers and Loaders Types of Assemblers and Loaders 1 Basic Principles
1.1 Assembler Operation 1.1.1 The source line 13 13 20 24 28 30

xi 1 7 11 13

1.2 The Two-Pass Assembler 1.3 The One-Pass Assembler

1.4 Absolute and Relocatable Object Files 1.4.1 Relocation bits 29 1.4.2 One-pass, relocatable object files 1.4.3 The task of relocating 31 1.5 Two Historical Notes 32 1.5.1 Early relocation 32 1.5.2 One-and-a-half pass assemblers 1.6 Forcing
Contents

Preface Introduction A Short History of Assemblers and Loaders Types of Assemblers and Loaders 1 Basic Principles
1.1 Assembler Operation 1.1.1 The source line 13 13 20 24 28 30

xi 1 7 11 13

1.2 The Two-Pass Assembler 1.3 The One-Pass Assembler

1.4 Absolute and Relocatable Object Files 1.4.1 Relocation bits 29 1.4.2 One-pass, relocatable object files 1.4.3 The task of relocating 31 1.5 Two Historical Notes 32 1.5.1 Early relocation 32 1.5.2 One-and-a-half pass assemblers 1.6 Forcing

More info:

Published by: karltheking on Jan 25, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/26/2010

pdf

text

original

 
Contents
Preface
xi
Introduction
1
A Short History of Assemblers and Loaders
7
Types of Assemblers and Loaders
11
1 Basic Principles
131.1 Assembler Operation 131.1.1 The source line 131.2 The Two-Pass Assembler 201.3 The One-Pass Assembler 241.4 Absolute and Relocatable Object Files 281.4.1 Relocation bits 291.4.2 One-pass, relocatable object files 301.4.3 The task of relocating 311.5 Two Historical Notes 321.5.1 Early relocation 321.5.2 One-and-a-half pass assemblers 321.6 Forcing Upper 331.6.1 Relocating packed instructions 34
 
vi Contents
1.7 Absolute and Relocatable Address Expressions 351.7.1 Summary 361.8 Local Labels 361.8.1 The LC as a local symbol 381.9 Multiple Location Counters 391.9.1 The
USE
directive 391.9.2
COMMON
blocks 411.10 Literals 431.10.1 The literal table 431.10.2 Examples 441.11 Attributes of Symbols 451.12 Assembly-Time Errors 461.13 Review Questions and Projects 491.13.1 Project 1–1 501.13.2 Project 1–2 521.13.3 Project 1–3 531.13.4 Project 1–4 54
2 The Symbol Table
592.1 A Linear Array 602.2 A Sorted Array 602.3 Buckets with Linked Lists 612.4 A Binary Search Tree 622.5 A Hash Table 632.5.1 Closed hashing 632.5.2 Open hashing 652.6 Review Questions and Projects 662.6.1 Project 2–1 662.6.2 Project 2–2 662.6.3 Project 2–3 67
3 Directives
693.1 Introduction 693.2 Program Identification Directives 733.3 Source Program Control Directives 743.4 Machine Identification Directives 763.5 Loader Control Directives 773.6 Mode Control Directives 773.7 Block Control & LC Directives 793.8 Segment Control Directives 853.9 Symbol Definition Directives 863.10 Base Register Definition Directives 89
 
Contents vii
3.11 Subprogram Linkage Directives 903.12 Data Generation Directives 933.13 Macro Directives 993.14 Conditional Assembly Directives 993.15 Micro Directives 993.15.1 micro substitution 1003.16 Error Control Directives 1003.17 Listing Control Directives 1013.18 Remote Assembly Directives 1033.19 Code Duplication Directives 1043.20 Operation Definition Directives 1053.21 OpCode Table Management Directives 1063.22 Summary 1073.23 Review Questions and Projects 1083.23.1 Project 3–1 1083.23.2 Project 3–2 108
4 Macros
1094.1 Introduction 1094.1.1 The Syntax of macro definition and expansion 1124.2 Macro Parameters 1144.2.1 Properties of macro parameters 1164.3 Operation of Pass 0 1214.4 MDT Organization 1224.4.1 The
REMOVE
directive 1234.4.2 Order of search of the MDT 1234.5 Other Features of Macros 1244.5.1 Associating macro parameters with their arguments. 1244.5.2 Delimiting macro parameters 1254.5.3 Numeric values of arguments 1254.5.4 Attributes of macro arguments 1254.5.5 Directives related to arguments 1264.5.6 Default arguments 1274.5.7 Automatic label generation 1274.5.8 The
IRP
directive 1284.5.9 The
PRINT
directive 1294.5.10 Comment lines in macros 1294.6 Nested Macros 1304.6.1 Nested macro expansion 1304.7 Recursive Macros 1334.8 Conditional Assembly 1344.8.1 Global SET symbols 139

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->