describe symbols chart in assembly process ?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- describe symbols chart in assembly process ?

CAI, what is CAI? explain its pitfalls.

what is CAI? explain its pitfalls.

File organization, File Organization There are three types of fi...

File Organization There are three types of file organization used in practice. Let us consider the example of a dictionary. The dictionary contains listing of English wo

Identify important elements of multimedia, Problem 1 Identify important...

Problem 1 Identify important elements of Multimedia and explain with example. Stating important elements of Multimedia with example of each Problem 2 Explain a

What is deadlock ?Differentiate two types of resources ?, • A set of proce...

• A set of process is in a deadlock state if each process in the group is waiting for an event that can be caused by only another process in the set. In other words, each member of

Read only memory (rom), Read only memory (rom): The problem with RAM is...

Read only memory (rom): The problem with RAM is that its memory is volatile, i.e. it loses all its data when the power supply is removed.  A non-volatile memory is a permanent

Data base software, Data Base Software: Another major type of applicat...

Data Base Software: Another major type of application comes under the heading database software; which allows for the collection of, searching for and manipulation of informat

What is collaboration, Question 1 What is Collaboration? Write down the ob...

Question 1 What is Collaboration? Write down the objectives of collaboration Question 2 What is proxy server? Write down the reasons for using proxy server Question

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd