Assembly

Assembly

Length: 647 words (1.8 double-spaced pages)

Rating: Excellent

Open Document

Essay Preview

More ↓
Assembly

When programming in assembly language, we have to specify operations in a much greater level of detail than we would have to do in a high level language. Furthermore, we get relatively little help from the assembler in finding errors. Assemblers can only check the syntax of each line, and check that every symbol or label used is defined somewhere. We are much less constrained by the structure of the assembly language than we are by the structure of a high level language. This lack of constraint makes the job much harder, not easier. It is much easier to write an incorrect program in assembly language that in C++ or Pascal. It is much more likely that mistakes, will not be found by the assembler, so that we get runtime errors, which are harder to find, rather than compile time errors which are easier to find. For these reasons, we need to be even more careful when programming in assembly language than we are when programming in a high level language. We need to apply all of the skills we have learned in relation to high level language programming to assembly language programming.

Planning our work carefully is equally important, building a design package, by following appropriate style conventions when writing the program, and by providing good documentation with appropriate commenting of the program text. After building the design, it is wise to write a high level language program, to help check out the program logic and to serve as a model for the assembly language program. The high level language program can then be translated little by little into assembly language, perhaps a procedure at a time, and can be used to document the logic of the assembly language program. Clearly, we should use a compiler to translate a high level language program into machine code if we have a compiler at hand. There are circumstances, however; when it is necessary to do the translation on our own. It is nevertheless wise to write out the high level language program, even if you cannot compile it for the machine in question.

It is not necessary or desirable for the programming of embedded microprocessors to be done in assembly language. Indeed, assembly language should be regarded as a last resort, to be used when compilers are not available, or in very special circumstances.

How to Cite this Page

MLA Citation:
"Assembly." 123HelpMe.com. 07 Apr 2020
    <https://www.123helpme.com/view.asp?id=46150>.

Need Writing Help?

Get feedback on grammar, clarity, concision and logic instantly.

Check your paper »

Lessons From The Assembly Line Essay

- In the reading I chose, "Some Lessons from The Assembly Line", by Andrew Braaksma, is about a college student who in the summer time works for a factory all day long. To me, this reading is about a man maybe in his 20 's gaining great work experience during his summer breaks while also saving money. He also uses his work experiences in his college assignments, his knowledge from learning real life experiences at work. My opinion about this reading is that it is very informative. He is learning lessons and learning how to apply them to his school work....   [tags: Factory, Assembly line, High school]

Research Papers
1008 words (2.9 pages)

The Assembly Line Is Defined ( Dictionary.com ) Essay

- The assembly line revolutionized the way people manufacture and produce all the goods used in today’s industrialized world. An arrangement of machines, tools, and workers in which a product is assembled by having each perform a specific, successive operation on an incomplete unit as it passes by in a series of stages organized in a direct line, is how an assembly line is defined (Dictionary.com). How fast items are produced, how many are produced, and the amount used to create the products at a specific degree are all part of today’s assembly line....   [tags: Assembly line, Henry Ford, Mass production]

Research Papers
1442 words (4.1 pages)

Essay on The Assembly Line And Its Consequence Upon Humanity

- The assembly line and its consequence upon humanity. The core concept of the assembly line is that production involves materials, and people, and that by moving either materials or people, the speed of assembling the manufactured good from various processed materials can be increased. And the application of this study, benefits humanity in a variety of ways, such as when applied to slaughterhouses and bakeries, bread and meat can be processed from grains and carcasses to feed more people and faster....   [tags: Assembly line, Manufacturing, Laborer, Costs]

Research Papers
1268 words (3.6 pages)

Essay on The Value of the Assembly Line in Automobile Manufacture

- The Value of the Assembly Line in Automobile Manufacture In 1913, an innovation in automobile manufacture was born when Ford Motors experimented with winches and ropes to pull the chassis down a line while the assemblers stood in one place with their parts piles. The old process where workers moved in teams down the line, receiving their car parts from "parts runners" at each chassis as they arrived, was replaced by the automated assembly line, thus radically reducing by about 70 percent the original 17-hour labor input in the traditional moving team system....   [tags: BMW Auto Manufacturing Assembly Line]

Research Papers
1647 words (4.7 pages)

The Assembly Line Essay

- Assembly line: Dawn of a new age of manufacturing A motor car for the great multitude a goal for Henry Ford(Schlager 593). In the 1920s, automobiles are rapidly changing the American lifestyle forever because of their affordability and also the development of new assembly technology to lower the cost. Technological innovations of assembly begin to expand and advance for the better throughout the 1920s, which impacts Americans and the people of the world today. Henry Ford, a bold figure during the 1920s, owner of Ford automobiles....   [tags: henry ford, manufacturing]

Research Papers
929 words (2.7 pages)

History and Benefits of the Assembly Line Essay

- CHAPTER 1: INTRODUCTION Assembly lines are manufacturing processes which are of great importance in the industrial production of high quantity and even low volume production of customized products. In an assembly line, two or more different tasks are fitted together in a sequential manner to form a new finished product. An assembly line is a flow-oriented production system, where the operations on the workpieces are performed in the designed stations. The workpieces are moved along the stations in a line usually by some kind of transportation system, for example a conveyor belt, transfer lines or cranes....   [tags: workstation, production, industry]

Research Papers
3283 words (9.4 pages)

Some Assembly Required Essay

- Flux is the nature and salvation of our society, yet our individual natures, our intellects and consciences fight entropy. As we seek stability, safety and justice in the institution of law, and when those laws grow of necessity to address the issues of our times, the interpretation of our forefathers’ constitutional intent can become obscured by time and ambiguity. Indeed, our liberties today are won and lost not with blood on some revolutionary battlefield, but with semantics. Although judicial interpretation of the right of the people to peaceably assemble has led to the allowance of municipalities to require assembly permits, some of the repercussions of such mandates have...   [tags: Government]

Research Papers
1093 words (3.1 pages)

The Assembly Line & Henry Ford Essay example

- Ford's Assembly Line Assembly Line The assembly line has changed the world as drastically as it has been changed by the world since it began. It brought people together to work as a group toward all achieving the same goal. Henry Ford was only aiming to bring cars into the homes of the average citizen when he made the most significant to the assembly line since its inventor, Eli Whitney. Henry Ford not only achieved this goal, but his legacy is still carried on today. Assembly lines of cars as well as many other househo appliances have helped shape the twenty-first century....   [tags: essays research papers fc]

Free Essays
566 words (1.6 pages)

Assembly Essay

- Assembly When programming in assembly language, we have to specify operations in a much greater level of detail than we would have to do in a high level language. Furthermore, we get relatively little help from the assembler in finding errors. Assemblers can only check the syntax of each line, and check that every symbol or label used is defined somewhere. We are much less constrained by the structure of the assembly language than we are by the structure of a high level language. This lack of constraint makes the job much harder, not easier....   [tags: Essays Papers]

Free Essays
647 words (1.8 pages)

SPARC Assembly Essay

- CSE 30Final Review Read Ch. 1 - 14 in textbook Review all Programming Assignments C, SPARC Assembly, command line args, errno, functions used in PAs including perror(), strtol(), fopen(), fclose(), strtok(), qsort(), fgets(), printf(), fprintf(), strncpy()/memcpy(), strlen(), strchr(), malloc()/calloc()/realloc(), free(), getopt(), strcmp()/strncmp(), stat(), fread()/fwrite(), bsearch(), ... Review the Midterm and all Quizzes (and Sample Exercises) Everything from the Midterm Review material Stack/Local Variables 1-d arrays, 2-d arrays, 3-d arrays storage map equations (a[i], a[i][j], a[i][j][k]) traversing with a ptr vs....   [tags: essays research papers]

Free Essays
372 words (1.1 pages)

Related Searches

It is, however, necessary for computing scientists and software engineers to have a good understanding of computer architecture, and some exposure to assembly language programming is an important part of achieving overall system programming knowledge.

The layout of the assembly language code should follow the high level language structure where possible and sections of code should be marked out clearly in relation to their function. They should be as self contained as possible, and could for example correspond to procedures in the high level language form. Each routine or function should have exactly one exit point. Branches and jumps should remain within a routine or function. They should never be used to jump out, except possibly in the case of errors which require special exception handling. A routine or function may, of course, call another routine or function. A call is generally made by storing parameters and executing a JSR or BSR instruction. The main entry point to a program should normally be to its first instruction, so that when the program is loaded, the entry point can be presumed to be at its lowest address in memory. Symbolic names (defined by labels and equate statements) should be chosen to convey meaning, in exactly the same way that we choose names in a high level language program. Equate statements should be used to define constants or to name registers where they would improve readability of the program.

Appropriate comments are even more important in assembly language programming than in high level language programming.
Return to 123HelpMe.com