describe symbols chart in assembly process ?, Basic Computer Science

SYMBOLS CHART
Every one of the parts on code line in assembler is known as token, for instance on the code line:
MOV AX, Var
We comprise three tokens, the MOV instruction, the AX operator, and the VAR operator. What the assembler does to produce the OBJ code is to read each one of the tokens and appear for it on an internal "equivalence" chart identified as the reserved words chart, which is where all the mnemonic meanings we use as instructions are establish.
Follow this process, the assembler reads MOV, seems for it on its chart and recognizes it as a processor instruction. similarly it reads AX and identifies it as a register of the processor, but when it seems for the Var token on the reserved words chart, it does not get it, so then it seems for it on the symbols chart which is a table where the names of the constants, variables and labels used in the program where their addresses on memory are incorporated and the sort of data it contains, are found.
at times the assembler comes on a token which is not distinct on the program, consequently what it does in these cased is to pass a second time by the source program to confirm all references to that symbol and put it on the symbols chart. There are symbols which the assembler will not find given that they do not belong to that segment and the program does not know in what part of the memory it will get that segment, and at this time the linker comes into action, which will make the structure necessary for the loader so that the segment and the token be distinct when the program is loaded and previous to it is executed.
Posted Date: 5/4/2012 4:17:36 AM | Location : United States







Related Discussions:- describe symbols chart in assembly process ?, Assignment Help, Ask Question on describe symbols chart in assembly process ?, Get Answer, Expert's Help, describe symbols chart in assembly process ? Discussions

Write discussion on describe symbols chart in assembly process ?
Your posts are moderated
Related Questions

The development of your learning module is very time consuming, so it is recommended that you begin creating your learning module during this first week. Before you begin, download

Project Setting up Microsoft Word 2010 to automatically handle as much as possible of the NDSU Graduate School requirements for a disquisition. Accessible from the Graduate Schoo

To make a program in assembler two choices exist, the earliest one is to use the TASM or Turbo Assembler, of Borland, and the next one is to use the debugger, generally we use this

Characteristics of Artificial Intelligence: Artificial Intelligence is not an easy science to describe, as it has fuzzy borders with simulation mathematics, computer science t

Question 1 How can you create surface with 3D Scanner in geometric modeling? Question 2 Explain kinematics modeling in virtual reality Question 3 Describe object hierarc

• Multilevel feedback queue-scheduling algorithm enables a process to move among queues. It uses a number of ready queues and acquaintances a dissimilar priority with every queue.

Do you have expert can deal with netlogo

Assignment of computer science

Consistency or data in DBMS Consistency - data in DBMS(Database) is accurate in modeling real world, follows integrity constraints User may ensure transaction consistent by itsel