What Is A Computer LANGUAGE
|
| Tweet |
|
Free PDF Download What Is WRONG With Web 2.0 - By Matthew Jenkinson |
A computer program is a list of instructions to be executed by a microprocessor. These instructions are in the form of binary numeric codes and although we can enter them directly into the computer in this form it is more convenient to first enter them as corresponding alphabetic codes in a separate "source" file. We can then use another "assembler" program to convert them into their numeric equivalents. These alphabetic source codes are the simplest form of a computer language known as "assembly language."
For example suppose we wish the microprocessor to add two numbers together at specific locations in the computer's memory and store the result in another location. The assembly language to do this might look something like this:
MOV AX,A (move the data in memory location A into processor location AX)
MOV BX,B (move the data in memory location B into processor location BX)
ADD AX,BX (add AX and BX together and place the result in AX)
MOV C,AX (move the result from location AX into memory location C)
Running this piece of code through an assembler will produce the numeric codes that the microprocessor understands and will look something like this:
0100110100011010010011010001101101001111000110100100110100011110
If this seems tedious it is. It is also the reason higher level languages like Pascal, COBOL, C# and VB.NET were invented. For example the above logic written in Pascal would look like this:
C := A + B;
or (more meaningfully) like this:
Customer.BalancePayable := Account.CurrentBalance + Account.InterestDue;
From an economic perspective a computer language should allow a programmer to express business logic in a way that is easy to read, understand and maintain and at the same time minimize the possibility of errors.
Related Articles
|
Free PDF Download What Is WRONG With Web 2.0 - By Matthew Jenkinson |
|
About the Author: Matthew Jenkinson RSS for Matthew's articles - Visit Matthew's website Matthew Jenkinson is an Enterprise Software Architect and Computer Programmer who has been writing and maintaining customized software for businesses for more than twenty years. He has an outstandingly successful track record in a broad range of industry sectors including finance, insurance, retail, pharmacy, food processing, manufacturing and electronics. Matthew's work at the sharp end of software development has given him a comprehensive insight into the misunderstandings that exists between business and IT, and the ability to communicate with them in a language they both understand. Visit Matthew's website for more information and free accounting software!!! Click here to visit Matthew's website. What Is WRONG With Web 20 Software Development The Way GOD Does It Why We MUST Reinvent The Wheel The ADVANTAGE Of Object Oriented Software Why We NEED A Business Analyst |
Related Forum Posts
Share this article. Fund someone's dream.
Share this post and you'll help support entrepreneurs in Africa through our partnership with Kiva.
Over $50,000 raised and counting - Please keep sharing! Learn more.
Featured
Expert
ExpertTrending Articles
|
|
Like this page? PLEASE +1 it! |
Newsletter
Get advice & tips from famous business
owners, new articles by entrepreneur
experts, my latest website updates, &
special sneak peaks at what's to come!
Get advice & tips from famous business
owners, new articles by entrepreneur
experts, my latest website updates, &
special sneak peaks at what's to come!
Suggestions
Email us your ideas on how to make our
website more valuable! Thank you Sharon
from Toronto Salsa Lessons / Classes for
your suggestions to make the newsletter
look like the website and profile younger
entrepreneurs like Jennifer Lopez.
Email us your ideas on how to make our
website more valuable! Thank you Sharon
from Toronto Salsa Lessons / Classes for
your suggestions to make the newsletter
look like the website and profile younger
entrepreneurs like Jennifer Lopez.







