Home Random Page


CATEGORIES:

BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism






Features of the Assembler. The main programs for work with the Assembler.

The main common features of assembly language (usually not exactly known as a assembler; strictly assembler is a program that is a translator. This program takes a sequence of commands from assembly language to machine language code of the processor) processors coincide with those of all the languages ​​of this type. We note their basic features. [1]

 

Assembly languages ​​are machine-oriented languages ​​and, therefore, for each type of processor has its own language. Almost every team assembler equivalent to the command on the machine language of the processor. However, programming in assembly, as compared with programming in machine language (machine code level) is greatly facilitated by the possibility of using all the elements of a symbolic notation software (operation codes, addresses, memory, programs and data, variables, and constants, and so the operands etc.). Used symbolic notation elements usually reflect their substantive meaning. When programming in assembly language programmer can not take care of the memory allocation, the appointment of the specific addresses of operands. In the assembler can be issued if a repeated sequence of commands as a macro. The corresponding version of the language, allowing the use of macros, called macro assemblers. In addition, assemblers allow in some form to use when programming a standard cycle-type structure, branching.

 

When programming in assembler all available system resources and the specific processor (registers, stack memory, etc.). This allows for effective programs in terms of their execution time and memory size needed to accommodate the program. Problems related to the specific hardware and peripherals CPU better and more convenient to solve the assembly language. However, programming in assembly language implies the knowledge of the processor architecture and properties, that is, everything that is included in the concept of a software model of the processor.

 

 


Date: 2015-01-29; view: 1105


<== previous page | next page ==>
THE USA ECONOMY | Data presentation in the computer. Binary and hexadecimal notations. Bits, bytes and words.
doclecture.net - lectures - 2014-2024 year. Copyright infringement or personal data (0.008 sec.)