SlideShare a Scribd company logo
1
Orientation to Computing-I
L T P :2 0 0
www.lpu.in Lovely Professional University
Unit-1 (Computer Languages)
• Machine Language
• Assembly Language
• High Level Language
• Steps in development of a Program
• Compilation and Execution
• Compiler
• Interpreter
• Assembler
2
www.lpu.in Lovely Professional University
3
4
www.lpu.in Lovely Professional University
MACHINE LANGUAGE
• Machine language is a low-level language made up of binary numbers or
bits that a computer can understand.
• It is also known as machine code or object code and is extremely tough to
comprehend.
• The only language that the computer understands is machine language. All
programmes and programming languages, such as Swift and C++, produce
or run programmes in machine language before they are run on a
computer.
• When a specific task, even the smallest process executes, machine
language is transported to the system processor. Computers are only able
to understand binary data as they are digital devices.
5
www.lpu.in Lovely Professional University
MACHINE LANGUAGE
• Machine languages consist of strings of numbers ultimately reduced to
1's and 0's. The computer responds to these numbers by performing
different operations.
• Each computer can directly understand only one language—its own
machine language. With machine language a programmer can instruct a
computer to perform its most fundamental operations.
• Programs written in machine language are not portable, that is, they may
not be run on other computers with different machine languages.
• Machine language programs are easy for computers to understand, but,
for people, machine language programming is tedious work susceptible
to error.
6
www.lpu.in Lovely Professional University
ASSEMBLY LANGUAGE
• In computer programming, assembly language (or assembler language, or
symbolic machine code), is any low-level programming language with a very
strong correspondence between the instructions in the language and the
architecture's machine code instructions.
What does assembly code do?
• Assembly code is converted into executable machine code by a utility program
referred to as an assembler.
• The conversion process is referred to as assembly, as in assembling the source
code. The computational step when an assembler is processing a program is
called assembly time.
7
www.lpu.in Lovely Professional University
High Level Languages
• A HIGH-LEVEL LANGUAGE (HLL) is a programming language such as
C, FORTRAN, or pascal that enables a programmer to write programs that
are more or less independent of a particular type of computer.
• Such languages are considered high-level because they are closer to human
languages and further from machine languages
8
www.lpu.in Lovely Professional University
Steps in development
9
www.lpu.in Lovely Professional University
Work Flow
• U S E R W R I T E S A P R O G R A M I N C L A N G U A G E ( H I G H -
L E V E L L A N G U A G E ) .
• T H E C C O M P I L E R , C O M P I L E S T H E P R O G R A M A N D
T R A N S L AT E S I T TO A S S E M B LY P R O G R A M ( L O W-
L E V E L L A N G U A G E ) .
• A N A S S E M B L E R T H E N T R A N S L AT E S T H E
A S S E M B LY P R O G R A M I N TO M A C H I N E C O D E
( O B J E C T ) .
• A L I N K E R TO O L I S U S E D TO L I N K A L L T H E PA RT S
O F T H E P R O G R A M TO G E T H E R F O R E X E C U T I O N
( E X E C U TA B L E M A C H I N E C O D E ) .
• A L O A D E R L O A D S A L L O F T H E M I N TO M E M O RY
A N D T H E N T H E P R O G R A M I S E X E C U T E D .
10
www.lpu.in Lovely Professional University
11
www.lpu.in Lovely Professional University
Compiler
• A compiler is a special program that translates a programming language's
source code into machine code, bytecode or another programming
language.
• The source code is typically written in a high-level, human-readable
language such as Java or C++.
12
www.lpu.in Lovely Professional University
Interpreter
• An interpreter, like a compiler, translates high-level
language into low-level machine language. The difference
lies in the way they read the source code or input.
• A compiler reads the whole source code at once, creates
tokens, checks semantics, generates intermediate code,
executes the whole program and may involve many passes.
• In contrast, an interpreter reads a statement from the input,
converts it to an intermediate code, executes it, then takes
the next statement in sequence. If an error occurs, an
interpreter stops execution and reports it. whereas a
compiler reads the whole program even if it encounters
several errors.
13
www.lpu.in Lovely Professional University
Assembler
• An assembler translates assembly language programs into machine code.
• The output of an assembler is called an object file, which contains a
combination of machine instructions as well as the data required to place
these instructions in memory.
• An assembler is a type of computer program that interprets software
programs written in assembly language into machine language, code and
instructions that can be executed by a computer.
• An assembler enables software and application developers to access,
operate and manage a computer's hardware architecture and components
14
www.lpu.in Lovely Professional University

More Related Content

Similar to Unit-1 Part2.pptawegawegawergawewrrgawewgd

Languages in computer
Languages in computerLanguages in computer
Languages in computer
The University of Lahore
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
DarianElmyra
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
SegezzBrian
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
VanessaBuensalida
 
PPL_Unit01 for the insem study first year.pptx
PPL_Unit01 for the insem study first year.pptxPPL_Unit01 for the insem study first year.pptx
PPL_Unit01 for the insem study first year.pptx
rockstarr066gj
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
PmarkNorcio
 
Computer languages
Computer languagesComputer languages
Computer languages
AqdasNoor
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
Chewe Lulembo
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
nharsh2308
 
Computer languages
Computer languagesComputer languages
Computer languages
Buxoo Abdullah
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
AryaDutta4
 
PCEP Module 1.pptx
PCEP Module 1.pptxPCEP Module 1.pptx
PCEP Module 1.pptx
zakariaHujale
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
Nisarg Amin
 
Computer programming
Computer programmingComputer programming
Computer programming
Mohamed Asarudeen
 
Compilers.pptx
Compilers.pptxCompilers.pptx
Compilers.pptx
MohammedMohammed578197
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentation
HafsaRao1
 
Computer language
Computer languageComputer language
Computer language
WASEEM ARSLAN
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 

Similar to Unit-1 Part2.pptawegawegawergawewrrgawewgd (20)

Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
PPL_Unit01 for the insem study first year.pptx
PPL_Unit01 for the insem study first year.pptxPPL_Unit01 for the insem study first year.pptx
PPL_Unit01 for the insem study first year.pptx
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
PCEP Module 1.pptx
PCEP Module 1.pptxPCEP Module 1.pptx
PCEP Module 1.pptx
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Compilers.pptx
Compilers.pptxCompilers.pptx
Compilers.pptx
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentation
 
Computer language
Computer languageComputer language
Computer language
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 

Recently uploaded

Osteoporosis - Definition , Evaluation and Management .pdf
Osteoporosis - Definition , Evaluation and Management .pdfOsteoporosis - Definition , Evaluation and Management .pdf
Osteoporosis - Definition , Evaluation and Management .pdf
Jim Jacob Roy
 
OCT Training Course for clinical practice Part 1
OCT Training Course for clinical practice Part 1OCT Training Course for clinical practice Part 1
OCT Training Course for clinical practice Part 1
KafrELShiekh University
 
Cell Therapy Expansion and Challenges in Autoimmune Disease
Cell Therapy Expansion and Challenges in Autoimmune DiseaseCell Therapy Expansion and Challenges in Autoimmune Disease
Cell Therapy Expansion and Challenges in Autoimmune Disease
Health Advances
 
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
bkling
 
The Best Ayurvedic Antacid Tablets in India
The Best Ayurvedic Antacid Tablets in IndiaThe Best Ayurvedic Antacid Tablets in India
The Best Ayurvedic Antacid Tablets in India
Swastik Ayurveda
 
Efficacy of Avartana Sneha in Ayurveda
Efficacy of Avartana Sneha in AyurvedaEfficacy of Avartana Sneha in Ayurveda
Efficacy of Avartana Sneha in Ayurveda
Dr. Jyothirmai Paindla
 
THERAPEUTIC ANTISENSE MOLECULES .pptx
THERAPEUTIC ANTISENSE MOLECULES    .pptxTHERAPEUTIC ANTISENSE MOLECULES    .pptx
THERAPEUTIC ANTISENSE MOLECULES .pptx
70KRISHPATEL
 
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptxEar and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
Dr. Rabia Inam Gandapore
 
Tests for analysis of different pharmaceutical.pptx
Tests for analysis of different pharmaceutical.pptxTests for analysis of different pharmaceutical.pptx
Tests for analysis of different pharmaceutical.pptx
taiba qazi
 
Top-Vitamin-Supplement-Brands-in-India List
Top-Vitamin-Supplement-Brands-in-India ListTop-Vitamin-Supplement-Brands-in-India List
Top-Vitamin-Supplement-Brands-in-India List
SwisschemDerma
 
ABDOMINAL TRAUMA in pediatrics part one.
ABDOMINAL TRAUMA in pediatrics part one.ABDOMINAL TRAUMA in pediatrics part one.
ABDOMINAL TRAUMA in pediatrics part one.
drhasanrajab
 
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.GawadHemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
NephroTube - Dr.Gawad
 
Cardiac Assessment for B.sc Nursing Student.pdf
Cardiac Assessment for B.sc Nursing Student.pdfCardiac Assessment for B.sc Nursing Student.pdf
Cardiac Assessment for B.sc Nursing Student.pdf
shivalingatalekar1
 
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdfCHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
rishi2789
 
Chapter 11 Nutrition and Chronic Diseases.pptx
Chapter 11 Nutrition and Chronic Diseases.pptxChapter 11 Nutrition and Chronic Diseases.pptx
Chapter 11 Nutrition and Chronic Diseases.pptx
Earlene McNair
 
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotesPromoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
PsychoTech Services
 
Histololgy of Female Reproductive System.pptx
Histololgy of Female Reproductive System.pptxHistololgy of Female Reproductive System.pptx
Histololgy of Female Reproductive System.pptx
AyeshaZaid1
 
Best Ayurvedic medicine for Gas and Indigestion
Best Ayurvedic medicine for Gas and IndigestionBest Ayurvedic medicine for Gas and Indigestion
Best Ayurvedic medicine for Gas and Indigestion
Swastik Ayurveda
 
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptxHow STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
FFragrant
 
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptxThyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Dr. Rabia Inam Gandapore
 

Recently uploaded (20)

Osteoporosis - Definition , Evaluation and Management .pdf
Osteoporosis - Definition , Evaluation and Management .pdfOsteoporosis - Definition , Evaluation and Management .pdf
Osteoporosis - Definition , Evaluation and Management .pdf
 
OCT Training Course for clinical practice Part 1
OCT Training Course for clinical practice Part 1OCT Training Course for clinical practice Part 1
OCT Training Course for clinical practice Part 1
 
Cell Therapy Expansion and Challenges in Autoimmune Disease
Cell Therapy Expansion and Challenges in Autoimmune DiseaseCell Therapy Expansion and Challenges in Autoimmune Disease
Cell Therapy Expansion and Challenges in Autoimmune Disease
 
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
Part II - Body Grief: Losing parts of ourselves and our identity before, duri...
 
The Best Ayurvedic Antacid Tablets in India
The Best Ayurvedic Antacid Tablets in IndiaThe Best Ayurvedic Antacid Tablets in India
The Best Ayurvedic Antacid Tablets in India
 
Efficacy of Avartana Sneha in Ayurveda
Efficacy of Avartana Sneha in AyurvedaEfficacy of Avartana Sneha in Ayurveda
Efficacy of Avartana Sneha in Ayurveda
 
THERAPEUTIC ANTISENSE MOLECULES .pptx
THERAPEUTIC ANTISENSE MOLECULES    .pptxTHERAPEUTIC ANTISENSE MOLECULES    .pptx
THERAPEUTIC ANTISENSE MOLECULES .pptx
 
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptxEar and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
Ear and its clinical correlations By Dr. Rabia Inam Gandapore.pptx
 
Tests for analysis of different pharmaceutical.pptx
Tests for analysis of different pharmaceutical.pptxTests for analysis of different pharmaceutical.pptx
Tests for analysis of different pharmaceutical.pptx
 
Top-Vitamin-Supplement-Brands-in-India List
Top-Vitamin-Supplement-Brands-in-India ListTop-Vitamin-Supplement-Brands-in-India List
Top-Vitamin-Supplement-Brands-in-India List
 
ABDOMINAL TRAUMA in pediatrics part one.
ABDOMINAL TRAUMA in pediatrics part one.ABDOMINAL TRAUMA in pediatrics part one.
ABDOMINAL TRAUMA in pediatrics part one.
 
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.GawadHemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
Hemodialysis: Chapter 4, Dialysate Circuit - Dr.Gawad
 
Cardiac Assessment for B.sc Nursing Student.pdf
Cardiac Assessment for B.sc Nursing Student.pdfCardiac Assessment for B.sc Nursing Student.pdf
Cardiac Assessment for B.sc Nursing Student.pdf
 
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdfCHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
CHEMOTHERAPY_RDP_CHAPTER 3_ANTIFUNGAL AGENT.pdf
 
Chapter 11 Nutrition and Chronic Diseases.pptx
Chapter 11 Nutrition and Chronic Diseases.pptxChapter 11 Nutrition and Chronic Diseases.pptx
Chapter 11 Nutrition and Chronic Diseases.pptx
 
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotesPromoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
Promoting Wellbeing - Applied Social Psychology - Psychology SuperNotes
 
Histololgy of Female Reproductive System.pptx
Histololgy of Female Reproductive System.pptxHistololgy of Female Reproductive System.pptx
Histololgy of Female Reproductive System.pptx
 
Best Ayurvedic medicine for Gas and Indigestion
Best Ayurvedic medicine for Gas and IndigestionBest Ayurvedic medicine for Gas and Indigestion
Best Ayurvedic medicine for Gas and Indigestion
 
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptxHow STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
 
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptxThyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
 

Unit-1 Part2.pptawegawegawergawewrrgawewgd

  • 1. 1 Orientation to Computing-I L T P :2 0 0 www.lpu.in Lovely Professional University
  • 2. Unit-1 (Computer Languages) • Machine Language • Assembly Language • High Level Language • Steps in development of a Program • Compilation and Execution • Compiler • Interpreter • Assembler 2 www.lpu.in Lovely Professional University
  • 3. 3
  • 4. 4 www.lpu.in Lovely Professional University MACHINE LANGUAGE • Machine language is a low-level language made up of binary numbers or bits that a computer can understand. • It is also known as machine code or object code and is extremely tough to comprehend. • The only language that the computer understands is machine language. All programmes and programming languages, such as Swift and C++, produce or run programmes in machine language before they are run on a computer. • When a specific task, even the smallest process executes, machine language is transported to the system processor. Computers are only able to understand binary data as they are digital devices.
  • 5. 5 www.lpu.in Lovely Professional University MACHINE LANGUAGE • Machine languages consist of strings of numbers ultimately reduced to 1's and 0's. The computer responds to these numbers by performing different operations. • Each computer can directly understand only one language—its own machine language. With machine language a programmer can instruct a computer to perform its most fundamental operations. • Programs written in machine language are not portable, that is, they may not be run on other computers with different machine languages. • Machine language programs are easy for computers to understand, but, for people, machine language programming is tedious work susceptible to error.
  • 6. 6 www.lpu.in Lovely Professional University ASSEMBLY LANGUAGE • In computer programming, assembly language (or assembler language, or symbolic machine code), is any low-level programming language with a very strong correspondence between the instructions in the language and the architecture's machine code instructions. What does assembly code do? • Assembly code is converted into executable machine code by a utility program referred to as an assembler. • The conversion process is referred to as assembly, as in assembling the source code. The computational step when an assembler is processing a program is called assembly time.
  • 8. High Level Languages • A HIGH-LEVEL LANGUAGE (HLL) is a programming language such as C, FORTRAN, or pascal that enables a programmer to write programs that are more or less independent of a particular type of computer. • Such languages are considered high-level because they are closer to human languages and further from machine languages 8 www.lpu.in Lovely Professional University
  • 9. Steps in development 9 www.lpu.in Lovely Professional University
  • 10. Work Flow • U S E R W R I T E S A P R O G R A M I N C L A N G U A G E ( H I G H - L E V E L L A N G U A G E ) . • T H E C C O M P I L E R , C O M P I L E S T H E P R O G R A M A N D T R A N S L AT E S I T TO A S S E M B LY P R O G R A M ( L O W- L E V E L L A N G U A G E ) . • A N A S S E M B L E R T H E N T R A N S L AT E S T H E A S S E M B LY P R O G R A M I N TO M A C H I N E C O D E ( O B J E C T ) . • A L I N K E R TO O L I S U S E D TO L I N K A L L T H E PA RT S O F T H E P R O G R A M TO G E T H E R F O R E X E C U T I O N ( E X E C U TA B L E M A C H I N E C O D E ) . • A L O A D E R L O A D S A L L O F T H E M I N TO M E M O RY A N D T H E N T H E P R O G R A M I S E X E C U T E D . 10 www.lpu.in Lovely Professional University
  • 12. Compiler • A compiler is a special program that translates a programming language's source code into machine code, bytecode or another programming language. • The source code is typically written in a high-level, human-readable language such as Java or C++. 12 www.lpu.in Lovely Professional University
  • 13. Interpreter • An interpreter, like a compiler, translates high-level language into low-level machine language. The difference lies in the way they read the source code or input. • A compiler reads the whole source code at once, creates tokens, checks semantics, generates intermediate code, executes the whole program and may involve many passes. • In contrast, an interpreter reads a statement from the input, converts it to an intermediate code, executes it, then takes the next statement in sequence. If an error occurs, an interpreter stops execution and reports it. whereas a compiler reads the whole program even if it encounters several errors. 13 www.lpu.in Lovely Professional University
  • 14. Assembler • An assembler translates assembly language programs into machine code. • The output of an assembler is called an object file, which contains a combination of machine instructions as well as the data required to place these instructions in memory. • An assembler is a type of computer program that interprets software programs written in assembly language into machine language, code and instructions that can be executed by a computer. • An assembler enables software and application developers to access, operate and manage a computer's hardware architecture and components 14 www.lpu.in Lovely Professional University