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 operating system is the layer among the hardware and the programs you run. It provides programs a standard interface to the hardware; or else every program would need to includ

Problem: a) Explain the basic functions of a computer: inputting, processing, storing and outputting. b) List four types of memory and explain how each wor

What is methods For handling Deadlocks?

"Just how are we capable to get a computer to performe intelligent tasks?" One thing to answer the question is to tell that: Logic generate a science out of many forms of re

You recently returned some homework I completed but i left of the final 10 questions. Should not take long just needs some commands interpreted. How much will it cost for me to get

Question 1 Explain boundary fill and flood fill polygon filling algorithm Question 2 Draw and explain the block diagram of typical workstation Question 3 Explain the ras

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)

Question 1 Explain the configuration steps involved in CMOS setup Date and time Error halt Floppy drive A Halt on Hard disk C HDD Delay Keyboard Memory

Why is it called out of band protocol? A1) FTP uses port 20 and port 21; port 20 is used for data connection, whereas port 21 is used for control connection. FTP is known as out-of

QUESTION (i) Write short notes on each of the following: a) Shelf reading b) Joint Fiction Reserve c) London and South-Eastern Library Region d) Document access