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

What is house keeping in assembler?

591


Explain how to access vsam file?

607


how to pass the parameters from jcl to assembler pgm?

653


What does the following code do? Ap wkur,=p5 where wkur is a label?

611


explain about maximum displacement and how to cross this limit?

697






What is maximum displacement and how to cross this limit?

662


Explain how to produce soc7 abend?

634


Why do we use "drop"?

561


Explain how to initialize a register to 0000?

585


how to initialize a register to 0000?

663


Explain about base register?

603


How to pass the parameters from jcl to assembler program?

571


how to retrieve the instream data in sysin?

677


what is need of start 0? In steed of

669


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?

682