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
3Activity
0 of .
Results for:
No results containing your search query
P. 1
PC Assembly Language by Paul A. Carter

PC Assembly Language by Paul A. Carter

Ratings: (0)|Views: 144|Likes:
Published by api-3768869

More info:

Published by: api-3768869 on Oct 16, 2008
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

03/18/2014

pdf

text

original

PC Assembly Language
Paul A. Carter
January 6, 2000
c
\ue0002000 Paul Carter
All Rights Reserved
Contents
Preface
v
1 Introduction
1
1.1 NumberSystems. . . . . . . . . . . . . . . . . . . . . . . . .
1
1.1.1 Decmial. . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.1.2 Binary. . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.1.3 Hexadecmial. . . . . . . . . . . . . . . . . . . . . . .
2
1.2 ComputerOrganization. . . . . . . . . . . . . . . . . . . . .
4
1.2.1 Memory. . . . . . . . . . . . . . . . . . . . . . . . . .
4
1.2.2 TheCPU. . . . . . . . . . . . . . . . . . . . . . . . .
4
1.2.3 The 80x86 family of CPUs. . . . . . . . . . . . . . . .
5
1.2.4 8086 16-bit Registers. . . . . . . . . . . . . . . . . . .
6
1.2.5 80386 32-bit registers. . . . . . . . . . . . . . . . . .
7
1.2.6 RealMode. . . . . . . . . . . . . . . . . . . . . . . .
7
1.2.7 16-bit Protected Mode. . . . . . . . . . . . . . . . .
8
1.2.8 32-bit Protected Mode. . . . . . . . . . . . . . . . . .
9
1.2.9 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . .
9

1.3 AssemblyLanguage. . . . . . . . . . . . . . . . . . . . . . . 10 1.3.1 Machinelanguage. . . . . . . . . . . . . . . . . . . . 10 1.3.2 Assemblylanguage. . . . . . . . . . . . . . . . . . . . 10 1.3.3 Instructionoperands. . . . . . . . . . . . . . . . . . . 11 1.3.4 Basicinstructions. . . . . . . . . . . . . . . . . . . . 11 1.3.5 Directives. . . . . . . . . . . . . . . . . . . . . . . . . 12 1.3.6 Input and Output. . . . . . . . . . . . . . . . . . . . 15 1.3.7 Debugging. . . . . . . . . . . . . . . . . . . . . . . . . 16

1.4 Creating a Program. . . . . . . . . . . . . . . . . . . . . . . 17 1.4.1 Firstprogram. . . . . . . . . . . . . . . . . . . . . . . 17 1.4.2 Compilerdependencies. . . . . . . . . . . . . . . . . . 20 1.4.3 Assembling the code. . . . . . . . . . . . . . . . . . . 21 1.4.4 Compiling the C code. . . . . . . . . . . . . . . . . . 21 1.4.5 Linking the object \ufb01les. . . . . . . . . . . . . . . . . 22 1.4.6 Understanding an assembly listing \ufb01le. . . . . . . . . 22

i

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)//-->