What is symbol table in assembler?

Answer Posted / bala

assembler maintains a table where Entry address for all lables being declared in the program. In below, symbol table will have details like "Para-1 000A", "VAR-1 ----" and so on. Address(entry point) for MVC instruction will not have its entry in symbol tabel as it does not have any label to be referred.. Still Location counter used to maintain address for each instruction. Here Location counter will have address of MVC as '000A' and its length of instruction. Here Para-1 address and MVC address is same as 0H does not reserve storage.

For example, Para-1 address is at X'000A'.

para-1 DS 0H
MVC VAR-1,VAR-2
---
--
VAR-1 CL4
VAR-2 CL4

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you round the addition or subtraction of two numbers in assembler? what does the following code do? change process tool(code changes from dev to prd) the changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?

870


explain about maximum displacement and how to cross this limit?

863


How many maximum base registers we can have in a single program?

785


Explain about maximum displacement?

782


What is the use of trt instruction?

765


Explain how to access vsam file?

829


how to initialize a register to 0000?

857


How many maximum base registers we can have in a program?

784


How to pass the parameters from jcl to assembler program?

715


How do you round the addition or subtraction of two numbers in assembler?

775


what is need of start 0? In steed of

814


What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?

817


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

741


Ap wkur,=p5 where wkur is a label?

856


Why do we use "drop"?

733