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
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
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
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
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
 

Kürzlich hochgeladen

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Kürzlich hochgeladen (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

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.