SlideShare ist ein Scribd-Unternehmen logo
1 von 66
Assemblers System Software by  Leland L. Beck Chapter 2
Role of Assembler Source Program Assembler Object Code Loader Executable  Code Linker
Chapter 2 -- Outline ,[object Object],[object Object],[object Object],[object Object]
Introduction to Assemblers ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example Program (Fig. 2.1) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example Program (Fig. 2.1) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Assembler Directives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Program ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Fig. 2.3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Figure 2.1 (Pseudo code) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
An Example (Figure 2.1,  Cont .) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],EOR:  character x‘00’
An Example (Figure 2.1,  Cont .) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Assembler’s functions ,[object Object],[object Object],[object Object],[object Object],[object Object],Break...
Example of Instruction Assemble ,[object Object],STCH  BUFFER,X (54) 16  1  (001) 2  (039) 16 549039
Difficulties: Forward Reference ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Two Pass Assembler ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Two Pass Assembler  ,[object Object],[object Object],Pass 1 Pass 2  Object  codes Source program OPTAB SYMTAB SYMTAB Intermediate file
Data Structures ,[object Object],[object Object],[object Object]
OPTAB (operation code table) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SYMTAB (symbol table) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],COPY 1000 FIRST  1000 CLOOP 1003 ENDFIL 1015 EOF 1024 THREE 102D ZERO 1030 RETADR 1033 LENGTH 1036 BUFFER 1039 RDREC 2039
Homework #3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],End of Sec 2-1
Assembler Design ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Machine-dependent  Assembler Features ,[object Object],[object Object],[object Object]
Instruction Format and Addressing Mode ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Translation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PC-Relative Addressing Modes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Base-Relative Addressing Modes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Immediate Address Translation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Immediate Address Translation   (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Indirect Address Translation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Program Relocation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example
Relocatable Program ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Code End of Sec 2-2
Machine-Independent Assembler Features Literals Symbol Defining Statement Expressions Program Blocks Control Sections and Program Linking
Literals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Literals vs. Immediate Operands ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Literal - Implementation (1/3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Literal - Implementation (2/3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Literal - Implementation (3/3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Symbol-Defining Statements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Symbol-Defining Statements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ORG (origin) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ORG Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object]
SYMTAB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example 2.9 ,[object Object]
Program Blocks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Program Blocks - Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Figure 2.12 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Program Readability ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Control Sections   and Program Linking ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
External Definition and References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Modification Record ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
External References in Expression  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Assembler Design Options One-pass assemblers Multi-pass assemblers Two-pass assembler with overlay structure
Two-Pass Assembler with Overlay Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
One-Pass Assemblers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
One-Pass Assemblers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Load-and-go Assembler  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Forward Reference in One-pass Assembler ,[object Object],[object Object],[object Object],[object Object],[object Object]
Load-and-go Assembler (Cont.)  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Producing Object Code  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Multi-Pass Assemblers ,[object Object],[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

subroutines and interrupts
subroutines and interruptssubroutines and interrupts
subroutines and interruptsManoj Chowdary
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set ArchitectureDilum Bandara
 
Assembler Programming
Assembler ProgrammingAssembler Programming
Assembler ProgrammingOmar Sanchez
 
Writing command macro in stratus cobol
Writing command macro in stratus cobolWriting command macro in stratus cobol
Writing command macro in stratus cobolSrinimf-Slides
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineRai University
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formatsMazin Alwaaly
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGFrankie Jones
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipelineRai University
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Urvashi Singh
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction FormatDhrumil Panchal
 
The Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfThe Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfSrinimf-Slides
 

Was ist angesagt? (18)

subroutines and interrupts
subroutines and interruptssubroutines and interrupts
subroutines and interrupts
 
System Software
System SoftwareSystem Software
System Software
 
Assembler
AssemblerAssembler
Assembler
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Assembler Programming
Assembler ProgrammingAssembler Programming
Assembler Programming
 
Al2ed chapter15
Al2ed chapter15Al2ed chapter15
Al2ed chapter15
 
Writing command macro in stratus cobol
Writing command macro in stratus cobolWriting command macro in stratus cobol
Writing command macro in stratus cobol
 
instruction codes
instruction codesinstruction codes
instruction codes
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipeline
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipeline
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
 
Cpu unit
Cpu unitCpu unit
Cpu unit
 
The Easytrieve Presention by Srinimf
The Easytrieve Presention by SrinimfThe Easytrieve Presention by Srinimf
The Easytrieve Presention by Srinimf
 
Micro program example
Micro program exampleMicro program example
Micro program example
 

Andere mochten auch

Linkedin presentation
Linkedin presentationLinkedin presentation
Linkedin presentationdavidlreed
 
Sasha what makes the best insulating material
Sasha what makes the best insulating materialSasha what makes the best insulating material
Sasha what makes the best insulating materialISF
 
Buyers and Sellerts FAQS on Timesharing
Buyers and Sellerts FAQS on TimesharingBuyers and Sellerts FAQS on Timesharing
Buyers and Sellerts FAQS on TimesharingMbstyles
 
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)VogelDenise
 
JUSTICE ANTONIN SCALIA (Wikipedia Info)
JUSTICE ANTONIN SCALIA (Wikipedia Info)JUSTICE ANTONIN SCALIA (Wikipedia Info)
JUSTICE ANTONIN SCALIA (Wikipedia Info)VogelDenise
 
JUSTICE SAMUEL ALITO (Wikipedia Info)
JUSTICE SAMUEL ALITO (Wikipedia Info)JUSTICE SAMUEL ALITO (Wikipedia Info)
JUSTICE SAMUEL ALITO (Wikipedia Info)VogelDenise
 
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINTVogelDenise
 
Zero condicional
Zero condicionalZero condicional
Zero condicionalsaki08
 
DoxCycle Introduction (Trilogy Software)
DoxCycle Introduction (Trilogy Software)DoxCycle Introduction (Trilogy Software)
DoxCycle Introduction (Trilogy Software)Trilogy Software
 
Alternative System Solutions for Wheel Loaders and other Construction Equipment
Alternative System Solutions for Wheel Loaders and other Construction EquipmentAlternative System Solutions for Wheel Loaders and other Construction Equipment
Alternative System Solutions for Wheel Loaders and other Construction EquipmentReno Filla
 
Say hello to the new company pages
Say hello to the new company pagesSay hello to the new company pages
Say hello to the new company pagesLisa Burgess
 
Turkish 012712 and 020112
Turkish 012712 and 020112Turkish 012712 and 020112
Turkish 012712 and 020112VogelDenise
 
Cabot Specialty Fluids
Cabot Specialty FluidsCabot Specialty Fluids
Cabot Specialty Fluidsvasilciualina
 
Terrorism defined
Terrorism definedTerrorism defined
Terrorism definedVogelDenise
 
Task1 nme analysis
Task1 nme analysisTask1 nme analysis
Task1 nme analysisdenhamj1
 
Borges -poema_a_los_amigos_+
Borges  -poema_a_los_amigos_+Borges  -poema_a_los_amigos_+
Borges -poema_a_los_amigos_+Hiraki Yami
 
Chapter 19 unexpected pregnancies
Chapter 19   unexpected pregnanciesChapter 19   unexpected pregnancies
Chapter 19 unexpected pregnanciesemercier2911
 
Nuremberg principles crimes against humanity (wikipedia information)
Nuremberg principles   crimes against humanity (wikipedia information)Nuremberg principles   crimes against humanity (wikipedia information)
Nuremberg principles crimes against humanity (wikipedia information)VogelDenise
 
05/08/12 EEOC Documents Received (GRG & Messina)
05/08/12 EEOC Documents Received (GRG & Messina)05/08/12 EEOC Documents Received (GRG & Messina)
05/08/12 EEOC Documents Received (GRG & Messina)VogelDenise
 
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenianVogelDenise
 

Andere mochten auch (20)

Linkedin presentation
Linkedin presentationLinkedin presentation
Linkedin presentation
 
Sasha what makes the best insulating material
Sasha what makes the best insulating materialSasha what makes the best insulating material
Sasha what makes the best insulating material
 
Buyers and Sellerts FAQS on Timesharing
Buyers and Sellerts FAQS on TimesharingBuyers and Sellerts FAQS on Timesharing
Buyers and Sellerts FAQS on Timesharing
 
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)
EMAILS - KENTUCKY COMMISSION ON HUMAN RIGHTS(arabic)
 
JUSTICE ANTONIN SCALIA (Wikipedia Info)
JUSTICE ANTONIN SCALIA (Wikipedia Info)JUSTICE ANTONIN SCALIA (Wikipedia Info)
JUSTICE ANTONIN SCALIA (Wikipedia Info)
 
JUSTICE SAMUEL ALITO (Wikipedia Info)
JUSTICE SAMUEL ALITO (Wikipedia Info)JUSTICE SAMUEL ALITO (Wikipedia Info)
JUSTICE SAMUEL ALITO (Wikipedia Info)
 
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT
02/15/12 - UNITED STATES CONGRESSIONAL COMPLAINT
 
Zero condicional
Zero condicionalZero condicional
Zero condicional
 
DoxCycle Introduction (Trilogy Software)
DoxCycle Introduction (Trilogy Software)DoxCycle Introduction (Trilogy Software)
DoxCycle Introduction (Trilogy Software)
 
Alternative System Solutions for Wheel Loaders and other Construction Equipment
Alternative System Solutions for Wheel Loaders and other Construction EquipmentAlternative System Solutions for Wheel Loaders and other Construction Equipment
Alternative System Solutions for Wheel Loaders and other Construction Equipment
 
Say hello to the new company pages
Say hello to the new company pagesSay hello to the new company pages
Say hello to the new company pages
 
Turkish 012712 and 020112
Turkish 012712 and 020112Turkish 012712 and 020112
Turkish 012712 and 020112
 
Cabot Specialty Fluids
Cabot Specialty FluidsCabot Specialty Fluids
Cabot Specialty Fluids
 
Terrorism defined
Terrorism definedTerrorism defined
Terrorism defined
 
Task1 nme analysis
Task1 nme analysisTask1 nme analysis
Task1 nme analysis
 
Borges -poema_a_los_amigos_+
Borges  -poema_a_los_amigos_+Borges  -poema_a_los_amigos_+
Borges -poema_a_los_amigos_+
 
Chapter 19 unexpected pregnancies
Chapter 19   unexpected pregnanciesChapter 19   unexpected pregnancies
Chapter 19 unexpected pregnancies
 
Nuremberg principles crimes against humanity (wikipedia information)
Nuremberg principles   crimes against humanity (wikipedia information)Nuremberg principles   crimes against humanity (wikipedia information)
Nuremberg principles crimes against humanity (wikipedia information)
 
05/08/12 EEOC Documents Received (GRG & Messina)
05/08/12 EEOC Documents Received (GRG & Messina)05/08/12 EEOC Documents Received (GRG & Messina)
05/08/12 EEOC Documents Received (GRG & Messina)
 
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian
050113 - FAX TO JUDY CLARKE (Boston Marathon Bombing) - slovenian
 

Ähnlich wie Assembler

assembler_full_slides.ppt
assembler_full_slides.pptassembler_full_slides.ppt
assembler_full_slides.pptAshwini864432
 
Examinable Question and answer system programming
Examinable Question and answer system programmingExaminable Question and answer system programming
Examinable Question and answer system programmingMakerere university
 
loaders-and-linkers.pdfhhhhhccftyghgfggy
loaders-and-linkers.pdfhhhhhccftyghgfggyloaders-and-linkers.pdfhhhhhccftyghgfggy
loaders-and-linkers.pdfhhhhhccftyghgfggyrahulyadav957181
 
CH-3 CO-all-about-operating-system(Update).pptx
CH-3 CO-all-about-operating-system(Update).pptxCH-3 CO-all-about-operating-system(Update).pptx
CH-3 CO-all-about-operating-system(Update).pptxXyzXyz338506
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdfboukomra
 
Bca 2nd sem-u-3.1-basic computer programming and micro programmed control
Bca 2nd sem-u-3.1-basic computer programming and micro programmed controlBca 2nd sem-u-3.1-basic computer programming and micro programmed control
Bca 2nd sem-u-3.1-basic computer programming and micro programmed controlRai University
 
Lec 04 intro assembly
Lec 04 intro assemblyLec 04 intro assembly
Lec 04 intro assemblyAbdul Khan
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Bilal Amjad
 
basic computer programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed controlRai University
 
Mca i-u-3-basic computer programming and micro programmed control
Mca i-u-3-basic computer programming and micro programmed controlMca i-u-3-basic computer programming and micro programmed control
Mca i-u-3-basic computer programming and micro programmed controlRai University
 

Ähnlich wie Assembler (20)

Assembler
AssemblerAssembler
Assembler
 
Assembler
AssemblerAssembler
Assembler
 
assembler_full_slides.ppt
assembler_full_slides.pptassembler_full_slides.ppt
assembler_full_slides.ppt
 
Sp chap2
Sp chap2Sp chap2
Sp chap2
 
Assembler (2)
Assembler (2)Assembler (2)
Assembler (2)
 
Loader
LoaderLoader
Loader
 
Examinable Question and answer system programming
Examinable Question and answer system programmingExaminable Question and answer system programming
Examinable Question and answer system programming
 
loaders-and-linkers.pdfhhhhhccftyghgfggy
loaders-and-linkers.pdfhhhhhccftyghgfggyloaders-and-linkers.pdfhhhhhccftyghgfggy
loaders-and-linkers.pdfhhhhhccftyghgfggy
 
Loader
LoaderLoader
Loader
 
CH-3 CO-all-about-operating-system(Update).pptx
CH-3 CO-all-about-operating-system(Update).pptxCH-3 CO-all-about-operating-system(Update).pptx
CH-3 CO-all-about-operating-system(Update).pptx
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
 
Bca 2nd sem-u-3.1-basic computer programming and micro programmed control
Bca 2nd sem-u-3.1-basic computer programming and micro programmed controlBca 2nd sem-u-3.1-basic computer programming and micro programmed control
Bca 2nd sem-u-3.1-basic computer programming and micro programmed control
 
loader.ppt
loader.pptloader.ppt
loader.ppt
 
CH06 (1).PPT
CH06 (1).PPTCH06 (1).PPT
CH06 (1).PPT
 
Lec 04 intro assembly
Lec 04 intro assemblyLec 04 intro assembly
Lec 04 intro assembly
 
Ch2 csda
Ch2 csdaCh2 csda
Ch2 csda
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
basic computer programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed control
 
Mca i-u-3-basic computer programming and micro programmed control
Mca i-u-3-basic computer programming and micro programmed controlMca i-u-3-basic computer programming and micro programmed control
Mca i-u-3-basic computer programming and micro programmed control
 
Instruction set
Instruction setInstruction set
Instruction set
 

Kürzlich hochgeladen

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 

Kürzlich hochgeladen (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 

Assembler

  • 1. Assemblers System Software by Leland L. Beck Chapter 2
  • 2. Role of Assembler Source Program Assembler Object Code Loader Executable Code Linker
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33.
  • 34. Object Code End of Sec 2-2
  • 35. Machine-Independent Assembler Features Literals Symbol Defining Statement Expressions Program Blocks Control Sections and Program Linking
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.  
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58. Assembler Design Options One-pass assemblers Multi-pass assemblers Two-pass assembler with overlay structure
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.