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
Define explicit, implicit and parametric representation and what are their advantages?

QUESTION (a) Describe what is meant by Clock Skew and Clock Drift among clocks in a distributed system. (b) A clock is reading 08:25:46.0 (hr:min:sec) when it is discovered

Internal Storage: Internal storage is also known as main, primary, or (for historical reasons) core storage, or, memory. It is used to hold those instructions and data require

FUNDAMENTALS OF COMPUTERS 1. Describe the importance of video in multimedia. What are some of the tips to keep in mind while making video for the web? 2. Specify the steps t

Definition of  Algorithm  An algorithm is a design or plan of obtaining a solution to a problem. The solution is presented by listing all steps in which they are carried out.

n-ary relationships in database design Each n-ary where n>2 relationship type is maped into a table name of the relationship works as the name of the table. The primary key of suc

Question Elaborate the various steps in performing a Mail Merge. Perform one mail merge operation for sending invitation for a conference which is being conducted in your organ

Input devices of a digital computer: Input devices are used to read the instructions and data to be processed and output devices display the results obtained after executing t

SPECIAL-PURPOSE AND GENERAL-PURPOSE COMPUTERS In general, there are two types of digital computers. The first is the special-purpose digital computer, which performs a f

The Scheduling algorithms can be divided into two parts with respect to how they deal with clock interrupts. 1) Nonpreemptive Scheduling: A scheduling