Wednesday, 6 March 2013

Assembler, Compiler, Interpreter, Linker, Loader


Assembler: A computer will not understand any program written in a language, other than its machine language. The programs written in other languages must be translated into the machine language. Such translation is performed with the help of software. A program which translates an assembly language program into a machine language program is called an assembler. If an assembler which runs on a computer and produces the machine codes for the same computer then it is called self assembler or resident assembler. If an assembler that runs on a computer and produces the machine codes for other computer then it is called Cross Assembler.
Assemblers are further divided into two types: One Pass Assembler and Two Pass Assembler. One pass assembler is the assembler which assigns the memory addresses to the variables and translates the source code into machine code in the first pass simultaneously. A Two Pass Assembler is the assembler which reads the source code twice. In the first pass, it reads all the variables and assigns them memory addresses. In the second pass, it reads the source code and translates the code into object code.
Compiler: It is a program which translates a high level language program into a machine language program. A compiler is more intelligent than an assembler. It checks all kinds of limits, ranges, errors etc. But its program run time is more and occupies a larger part of the memory. It has slow speed. Because a compiler goes through the entire program and then translates the entire program into machine codes. If a compiler runs on a computer and produces the machine codes for the same computer then it is known as a self compiler or resident compiler. On the other hand, if a compiler runs on a computer and produces the machine codes for other computer then it is known as a cross compiler.
Interpreter: An interpreter is a program which translates statements of a program into machine code. It translates only one statement of the program at a time. It reads only one statement of program, translates it and executes it. Then it reads the next statement of the program again translates it and executes it. In this way it proceeds further till all the statements are translated and executed. On the other hand, a compiler goes through the entire program and then translates the entire program into machine codes. A compiler is 5 to 25 times faster than an interpreter.
By the compiler, the machine codes are saved permanently for future reference. On the other hand, the machine codes produced by interpreter are not saved. An interpreter is a small program as compared to compiler. It occupies less memory space, so it can be used in a smaller system which has limited memory space.
Linker: In high level languages, some built in header files or libraries are stored. These libraries are predefined and these contain basic functions which are essential for executing the program. These functions are linked to the libraries by a program called Linker. If linker does not find a library of a function then it informs to compiler and then compiler generates an error. The compiler automatically invokes the linker as the last step in compiling a program.
Not built in libraries, it also links the user defined functions to the user defined libraries. Usually a longer program is divided into smaller subprograms called modules. And these modules must be combined to execute the program. The process of combining the modules is done by the linker.


Loader: Loader is a program that loads machine codes of a program into the system memory. In Computing, a loader is the part of an Operating System that is responsible for loading programs. It is one of the essential stages in the process of starting a program. Because it places programs into memory and prepares them for execution. Loading a program involves reading the contents of executable file into memory.  Once loading is complete, the operating system starts the program by passing control to the loaded program code. All operating systems that support program loading have loaders. In many operating systems the loader is permanently resident in memory. 

119 Comments:

At 22 August 2013 at 18:18 , Blogger Remanika E said...

Thank you so much. This was very helpful. :)

 
At 27 December 2013 at 05:33 , Blogger Karan Diwan said...

Thank you very much sir for explaining the translators in a comprehendible language,

 
At 4 February 2014 at 03:40 , Blogger Amar Nath Dishilva said...

Its nice , thanks

 
At 5 February 2014 at 23:41 , Blogger anees irshad said...

thanx bro... it is a very easy...

 
At 22 February 2014 at 05:58 , Blogger Pooja LV said...

Thankq so much for the awesome explanation..

 
At 21 May 2014 at 10:01 , Blogger vish said...

thnx for easy explanation!

 
At 26 May 2014 at 05:25 , Blogger Chandra Prabhat Maurya said...

Thanks really nice ! I can prepare well for IBPS exam from this..

 
At 17 July 2014 at 10:54 , Blogger N.A.Abhijeeth said...

Thanq so much.
It was helpfull

 
At 2 November 2014 at 01:05 , Blogger Shweta Patel said...

Thank You !!! Really helpfull...

 
At 6 November 2014 at 03:43 , Blogger Naval Mehta said...

very useful

 
At 18 November 2014 at 06:03 , Blogger jerin martin said...

Simple and easy to understand . Thank u

 
At 29 November 2014 at 18:03 , Blogger RAhuL tHaKuR said...

Thanxx

 
At 8 December 2014 at 04:35 , Blogger Ahmadshah shaker said...

Thank you too much helpful and simple to easy understand.

 
At 9 December 2014 at 01:30 , Blogger Dinesh Kumar said...

thnx bro.. u save my xams. ;)

 
At 11 December 2014 at 07:15 , Blogger Reet Sharma said...

Awesume Explanation!!
It goes direct into the brain.

 
At 12 December 2014 at 15:13 , Blogger David Agbo said...

Good piece tho....straight forward!!easy to remember...Thanks
#Short_GH

 
At 13 December 2014 at 23:45 , Blogger puneet gupta said...

Thanks to you for providing easy language explation.

 
At 30 January 2015 at 21:23 , Blogger Cindy Dy said...


Well done! Nice post! This really helps me to find the answers to my question.

Sorn
www.gofastek.com

 
At 13 February 2015 at 09:33 , Blogger @myself said...

thanks for ur short and crispy note

 
At 1 March 2015 at 20:35 , Blogger Satish Ekka said...

thanks for easy and simple explanation.

 
At 27 April 2015 at 07:10 , Blogger khushboo jumani said...

Nicely explained

 
At 8 May 2015 at 10:07 , OpenID Akash said...

thanks for difinition...

 
At 6 July 2015 at 05:34 , Blogger abhi said...

Thanks Dear,,,, very good explanation..

 
At 18 July 2015 at 09:45 , Blogger Suresh Kumar said...

Good say

 
At 18 July 2015 at 09:45 , Blogger Suresh Kumar said...

Good say

 
At 19 July 2015 at 19:16 , Blogger Leslie Lim said...

Wow. Awesome article. Please do more articles like this in the future. Very informational and knowledgeable. I will expect more from you in the future. For now i will just bookmark your page and surely I'm gonna come back later to read more. Thank you to the writer!


Rica
www.imarksweb.org

 
At 18 August 2015 at 02:49 , Blogger aseem goel said...

this post is so intensive...cleared all of my concepts covering all the necessary details..thanks..

 
At 30 August 2015 at 00:24 , Blogger raj said...

thank you so much, that helped a lot!! :)

 
At 8 September 2015 at 11:32 , Blogger Gaurav Patel said...

Easy to understand. ...

 
At 8 September 2015 at 11:32 , Blogger Gaurav Patel said...

Easy to understand. ...

 
At 8 September 2015 at 11:32 , Blogger Gaurav Patel said...

Easy to understand. ...

 
At 11 September 2015 at 11:35 , Blogger vardhan s said...

great job man...

 
At 10 October 2015 at 08:28 , Blogger Abdul Samad Ali said...

Great it helps in my assignment

 
At 13 October 2015 at 11:33 , Blogger Unknown said...

Thanku so much

 
At 13 October 2015 at 11:33 , Blogger Unknown said...

Thanku so much

 
At 16 October 2015 at 03:28 , Blogger beauti of king said...

thanks.....

 
At 21 November 2015 at 23:52 , Blogger anurag kumar said...

it was really very helpful....thnx bro

 
At 26 November 2015 at 09:41 , Blogger prasandika bhagya said...

great carry on

 
At 4 December 2015 at 06:21 , Blogger rob said...

simple language.welll

 
At 29 December 2015 at 21:44 , Blogger Wasiur Rahman said...

easy explanation, very nice

 
At 12 February 2016 at 13:14 , Blogger Software Programming Tutorial in Roman Hindi/Urdu said...

Superb.

 
At 3 March 2016 at 07:11 , Blogger faiz said...

Thanks dude.....it is a great work to explain things in this way. keep it up and share your knowledge to others. And plaese start a youtube channel also.

thank you

 
At 26 March 2016 at 10:00 , Blogger akmal niazi khan said...

This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

Love from

 
At 2 April 2016 at 04:35 , Blogger Unknown said...

Wonderful explaination

 
At 2 April 2016 at 04:35 , Blogger Unknown said...

Wonderful explaination

 
At 15 April 2016 at 07:48 , Blogger akmal niazi khan said...

This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

Love from

 
At 25 May 2016 at 07:38 , Blogger Bridget Faust said...

This comment has been removed by the author.

 
At 26 May 2016 at 06:17 , Blogger Mike Cusson said...

Surely these are the basic guidelines as to understanding the difference between assembler, compiler, interpreter and linker. Students in this regard would be pleased to get knowledge. c# programming assignments

 
At 29 May 2016 at 18:55 , Blogger Unknown said...

Thanx brother

 
At 29 May 2016 at 19:20 , Blogger Ps bakshi said...

Thanx brother

 
At 8 June 2016 at 08:43 , Blogger chandrima said...

thanks . friend

 
At 8 June 2016 at 08:43 , Blogger chandrima said...

thanks . friend

 
At 8 June 2016 at 08:44 , Blogger chandrima said...

thanks . friend

 
At 8 June 2016 at 08:45 , Blogger chandrima said...

please type more post about java program.

 
At 8 June 2016 at 08:45 , Blogger chandrima said...

please type more post about java program.

 
At 15 June 2016 at 07:14 , Blogger NIIT Asilmetta said...

Thank you so much. This was very helpful. :)

 
At 20 June 2016 at 08:18 , Blogger Gimhani Sumanasekara said...

Thank you very much :)

 
At 20 June 2016 at 08:18 , Blogger Gimhani Sumanasekara said...

Thank you very much :)

 
At 9 July 2016 at 04:16 , Blogger Ragu waran said...

Awesome work i like it very much . God bless you and keep it up .

Job Typing

 
At 11 August 2016 at 02:51 , Blogger Ram Chauhan said...

I prefer to read this kind of stuff. The quality of
content is fine and the conclusion is good.
Thanks for the post....
BRANDED LAPTOPS & DESKTOPS

 
At 21 August 2016 at 09:22 , Blogger saket bhala said...

very easy to understand these all topics, thanks

 
At 23 August 2016 at 06:16 , Blogger Assemblyjobs.net said...

computer assembly jobs - Are you looking for a job in computer assembly in USA or other parts of the world. If yes then assembly jobs is one of the great place for searching assembly jobs online. We also provide free consulting and assistance.

 
At 11 September 2016 at 11:07 , Blogger mukesh singh said...

This is very helpful notes ever

 
At 14 September 2016 at 00:21 , Blogger Assemblyjobs.net said...

computer assembly jobs-Find Computer assembly jobs in Jaipur. Find your perfect computer assembly job in India, apply today and get hired.

 
At 15 September 2016 at 00:14 , Blogger Veeru said...

Thanks bro. Actually I am very confused before I don't know what is compiler and what is assembler. But now, after your explanation i am very familier on this topic. Once again thanks

 
At 15 September 2016 at 00:15 , Blogger Veeru said...

Thanks bro. Actually I am very confused before I don't know what is compiler and what is assembler. But now, after your explanation i am very familier on this topic. Once again thanks

 
At 19 September 2016 at 23:30 , Blogger Unknown said...

Thank you..Its very useful.

 
At 12 October 2016 at 23:27 , Blogger Assemblyjobs.net said...

computer assembly jobs-Find computer assembly jobs and career resources in USA available on Assemblyjobs.net. Work for companies that believe the same as you do, Join us today!

 
At 16 October 2016 at 00:43 , Blogger Vijay Aanand said...

super and excellent bro...magizhchi

 
At 16 October 2016 at 13:08 , Blogger Joe said...

Tanx so much

 
At 19 October 2016 at 00:20 , Blogger aarti said...

So nicely explained. One question was asked which has 4 options linker-loader-compiler-assembler. and this gives perfect answer.

Thanks a lot :)

 
At 6 November 2016 at 09:14 , Blogger Mayank vats said...

Thanx for ur guidance... Now I acquainted with the concept.

 
At 6 November 2016 at 09:15 , Blogger Mayank vats said...

Thanx for ur guidance... Now I acquainted with the concept.

 
At 9 November 2016 at 05:58 , Blogger Meghnath Singh said...

sir,i very very very thankful to you sir.

 
At 10 November 2016 at 08:23 , Blogger Ketki Thosar said...

Thank you.....

 
At 11 November 2016 at 22:49 , Blogger Unknown said...

i want to know the differnce between linker and loader in 5-6 points..

 
At 11 November 2016 at 22:50 , Blogger Unknown said...

i want to know the differnce between linker and loader in 5-6 points..

 
At 2 December 2016 at 17:25 , Blogger Arpit Arora said...

Ya Allah 786

 
At 5 December 2016 at 21:34 , Blogger Unknown said...

Thank you sir

 
At 22 December 2016 at 04:56 , Blogger THE - MK said...

plz simulator emulator n editors

 
At 22 December 2016 at 10:20 , Blogger Unknown said...

This comment has been removed by the author.

 
At 2 February 2017 at 22:32 , Blogger Unknown said...

crystal clear! to the point explanation.
Keep it up!

 
At 9 February 2017 at 20:50 , Blogger SAYALI KUCHEKAR said...

to the point information...really precious..!!

 
At 11 February 2017 at 11:05 , Blogger Riyaz Ahmad said...

thnx fr de xplanation"""

 
At 23 February 2017 at 00:47 , Blogger Ananthprasad Hegde said...

thanks

 
At 30 March 2017 at 22:03 , Blogger athula wickramarathne said...

thanks for good explanation

 
At 18 April 2017 at 21:54 , Blogger Unknown said...

Thank you... Amazing explanation....

 
At 25 May 2017 at 04:47 , Blogger Abhinav Shan said...

Windows is the best operating system with user friendly features but I think they should work more on internet security. You can find more discussion on this topic at this Question and Answer Website.

 
At 31 May 2017 at 07:36 , Blogger सारांश सागर said...

Nice explanations !

 
At 3 June 2017 at 12:00 , Blogger AJAY KUMAR said...

thankuuu very much its very helpful

 
At 7 June 2017 at 04:02 , Blogger Sujitkumar said...

Nice tutorial. Thanks for sharing the valuable info about c Training. it’s really helpful. Who want to learn c language this blog most helpful. Keep sharing on updated tutorials…..

 
At 30 July 2017 at 20:24 , Blogger sohan badade said...

Thank you.

 
At 23 August 2017 at 00:27 , Blogger atul Charel said...

Thank you

 
At 12 September 2017 at 22:33 , Blogger victor ebenezer said...

Awesome explanation. Thank you.

 
At 3 November 2017 at 03:48 , Blogger MUKESH KUMAR KUMAWAT said...

Candidates are invited to apply online for REET Application Form 2017 from the official website of REET. You can check Latest Notification of REET Vacancies 2017.

 
At 20 November 2017 at 09:01 , Blogger Sahidul Islam said...

Not good

 
At 28 November 2017 at 00:30 , Blogger John Andrew said...

Intresting details about translation services. Please keep updating.
Translation Companies in Bangalore

 
At 2 January 2018 at 12:01 , Blogger Green Gate Translation said...

Thank you very much for the information provided! I was looking for this data for a long time, but I was not able to find the trusted source..
voice over and dubbing in usa
Leading Translation Agency in USA
professional translation agency USA
language translation services agency
biggest translation agencies in usa
Professional Language Translation Services in United States
language translation services new york
top translation companies in the usa
dubbing and voice over in usa
professional voice dubbed for video agency
dubbing and voice over service in usa
best way to transcribe audio to text
transcription services company
proofreading agency usa
translation companies united states
professional translation services in usa

 
At 3 January 2018 at 01:11 , Blogger Petter Marry said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.

 
At 21 February 2018 at 04:34 , Blogger jas kaur said...

wonderful blog ever I found on internet and man you are great and you are great because of your loyalty and and your service provider.
escorts in Delhi

 
At 7 March 2018 at 03:48 , Blogger Free Study said...

Depth First Search of Graph
Delay, Loss, and Throughput in Packet Switching Network
Deadlock Detection with Single Resource
Data Design – Architectural Level
Cursors with its Types
Cubic Bezier Curves
Working Principle of Control Unit with Timing Diagram
Constraint Satisfaction Algorithm

 
At 7 March 2018 at 03:49 , Blogger Free Study said...

Code Optimization
Code Optimization Technique
IPv6 Datagram Format
Integration Testing and Validation Testing
Goals of Input/Output Software
IEEE 802.11 Medium Access Control
Issues in Designing Human Oriented Names
GUI Architecture of Android Application

 
At 11 March 2018 at 23:53 , Blogger garima sexy said...

High class Sexy Call Girls available 24.7 Get A Perfect Enjoyment with Mumbai Escorts Girls which are available 24hr Contact Now : ( babes4night.com ).
Mumbai Call Girls |
Mumbai Escorts
nishakohli.xyz : Find the best call girls Rohini. Call or whatsapp them with the displayed contact number. Incall and outcall service available Rohini.
Rohini Escorts |
Call Girls in Rohini |
Rohini Escort

 
At 21 March 2018 at 02:02 , Blogger infotechbrn1@gmail.com said...

Nice blog..! I really loved reading through this article... Thanks for sharing such an amazing post with us and keep blogging...
iphone app training course

 
At 23 March 2018 at 05:27 , Blogger Unknown said...

I am twenty one year old desperate passionate Escorts Service CP girl who want to make all of your intimate desires complete. You will be flat on my breast when I will show you my adolescence with clothes. Yea guys Delhi Escorts service can bet that you will be crazy when I will strip off my clothes in front of you and show you my big boobs decorated with pink nipples. Then you next stop will be my pussy and I will observe all of your incomplete fantasies with my charm and give you satisfaction in return. Visit my Escort Services Delhi

 
At 25 March 2018 at 23:21 , Blogger Raj Noida said...

Nice blog Content. It is very informative and helpful. Please share more content. Thanks.
Dot Net Training
Dot Net Course
Dot Net Institute

 
At 30 March 2018 at 04:48 , Blogger Hannah Baker said...

Java Tutorial for Beginners Course with certificates.

ASP.Net C Sharp Tutorial Course with certificates.

Learn HTML Tutorial for Beginners with certificates.

Learn SQL Tutorial for Beginners with certificates.

Learn SQL Tutorial for Beginners with certificates.

 
At 2 April 2018 at 03:49 , Blogger Unknown said...

Hey handsome guys this is me Pooja independent escort girls Agency & Delhi. I am here to fulfill your erotic and intimate desires with my charm and beauty. I am a twenty year old young and horny Mahipalpur escort girl. I can easily complete your sexual desires. I know very well how to dress for impress or seduce a male so I can easily seduce you too. First of all tell me what do you want to get to me? My adolescence or my sensuality only! Ooh guys I will give you Escorts service Gurgaon and more than this because I am all yours so now let me tell you how will a give you intimate satisfaction.

 
At 3 April 2018 at 01:14 , Blogger Sarah Rose said...

Need cdr help? Hire best Australian cdr writers from Help My Assignment. Order Assembly Language Assignment Help From Help My Assignment and get assured of the top-notch grades without putting your hands in the tedious task of researching & writing. CDR for Australian Immigration Assignment | Assembly Language Assignment Help

 
At 5 April 2018 at 05:43 , Blogger Mumbai Escort said...

Independent Escorts in Delhi are young and energetic in character.Escorts are highly smart and attract their customers when create a nice chemistry with their body language.Female Escorts Services can easily give body to body massage without having any cloth.Delhi is one of the place where you meet really hot girls.Independent Escort services in Delhi are helping you to meet cheap Delhi escorts Agency.

 
At 6 April 2018 at 04:41 , Blogger Ileana D'cruz said...

Revel in The glowing Shine of Modeling Escorts in Doha : Did you ever concept of getting fun with lovely fashions girls and experience their escort services in Doha (Qatar) ? If now not then here are models escorts in Doha who can be absolutely yours for you for as long as you want. In that time, those hot models will saw you their paradise of beauty and lovingness. earlier than you move for choice of such remarkable fashions companions on your delight, it'd be remarkable to know all approximately the woman fashions available in Doha .Doha Escorts right here are the exciting statistics which could make you recognize what extra normal those girls should offer you. How these ladies get you into their glamour and provide you with the final revel in.

 
At 10 April 2018 at 01:44 , Blogger Ad My URL said...

Ad my URL The Web is a top search engine allowing to find websites from all over the world. Submit your site and let customers find your company easily.


Get 99% Ranking Growth of your website. ( Only Applied for Paid Version )


http://www.admyurl.com/


http://www.admyurl.com/

 
At 10 April 2018 at 03:56 , Blogger Diac Noida said...

Industrial Automation training and Placement program for fresher engineer in Delhi NCR. Those engineer who are interested in Automation sector we can provide a basic platform. We are train you initial level. Contact:- 91-9310096831.

 
At 12 April 2018 at 05:37 , Blogger smriti nayan said...

Best android Summer Training

 
At 17 April 2018 at 04:10 , Blogger ruhikhe said...

VIP escorts in Chandigarh don't seem to be as common jointly would hope, particularly those that area unit naturally endowed. As a result, finding escort agencies that concentrate on shapely escorts in Chandigarh will be quite troublesome to try and do.

Chandigarh Escorts Services
Chandigarh Escorts
Escorts in Chandigarh
Noida Escorts
Agra Escorts Service

 
At 18 April 2018 at 04:03 , Blogger ruhikhe said...

Fortuitously for our purchasers, that’s precisely the quite lovely, Chandigarh escorts that our agency offers. You can visit our website for more details about agency call me hurry up…
Candigarh escorts
Chandigarh escorts service
Escort in Chandigarh
Escorts service in Chandigarh
Chandigarh Call Girls service
Chandigarh Independent escorts service
Independent escorts service in Chandigarh
Chandigarh escorts Agency
Escorts Agency in Chandigarh

 
At 19 April 2018 at 07:05 , Blogger nieshblase said...

As a number of the most effective Noida companions that money should buy, you'll be able to make certain that you just can get your money’s price. An upscale expertise with a number of the best Noida escorts girls on cyberspace is a few things that are AN expertise price paying for.
Noida Escorts
Noida Escort Service
Noida Escorts Services
Escorts in Noida
VIP Escorts Service in Noida
Noida Escorts Agency
VIP Escorts in Noida

 
At 23 April 2018 at 00:36 , Blogger Unknown said...

Delhi independent girl escort girls are forever true Delhi attractions escort girls are a number of the women of a lot of orderly and ideal all round the subject escort service based mostly quality Escort in Aerocity Delhi and its surroundings extremely. Escorts and their services are usually rented for varied events and took elite, parties and dating. The services provided by attendants are interrupted as a result of every person Delhi provides a way of positive and integrity once acting all tasks. O despite that escort services Paharganj supply a whole state please is assured they're assured of being safe.

 
At 23 April 2018 at 22:59 , Blogger Kamini Sharma said...

Independent Bangalore Escorts
Escorts Service in Bangalore
Escorts in Bangalore
Independent Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Escorts in Bangalore
Independent Bangalore Escorts

Bangalore Escorts Service
Bangalore Escorts Agency
Escorts Service in Bangalore
Escorts in Bangalore
Independent Bangalore Escorts

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home