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 ?

What are search engines, QUESTION 1 What are search engines? QUESTI...

QUESTION 1 What are search engines? QUESTION 2 Write short notes on the inverted file. QUESTION 3 Write short notes on: (i) Derivative indexing (also known a

Convert string to super ascii, A string S is said to be "Super ASCII", if i...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''''''a''''''''-'''''''

Protocol, what protocol is used by DNS name server

what protocol is used by DNS name server

Construct a conditional profits table, Question (a) A dairy wants to de...

Question (a) A dairy wants to determine the quantity of butter it should produce to meet the demand. Past records have shown the following demand pattern:

Execute a command in operating system, Execute a command in operating syste...

Execute a command in operating system: In order to execute a command OS does the following steps:   It accepts a command from a user through mouse clicks or from t

Describe 3 components of a pattern, QUESTION (a) Compare the adapter pa...

QUESTION (a) Compare the adapter pattern with the façade and decorator patterns. (b) Illustrate a two-way adapter pattern. (c) Describe 3 components of a pattern. (d)

Search strategies, Search strategies are evaluated along four main dimensio...

Search strategies are evaluated along four main dimensions. Name those dimensions and briefly describe each one

Problem - programming language, Problem - programming language: A Prob...

Problem - programming language: A Problem is to carry out a particular task. For solving the problem, some input has to be given to the system. The system will process or mani

Python - Dictionary, A dictionary is variable and is one more container typ...

A dictionary is variable and is one more container type that can store any number of Python objects, counting other container types. Dictionaries consist of pairs (identified items

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