1,319 views
5 votes
5 votes
State whether the following statements are True or False with reasons for your answer

A symbol declared as ‘external’ in an assembly language program is assigned an address outside the program by the assembler itself.

1 Answer

Best answer
12 votes
12 votes
$\textsf{extern}$ symbol in an assembler $($or $C)$ compilation unit (a file and all its included ones) is used to refer to $\textsf{global}$ symbols (either variables or functions) in other parts of the program including any shared libraries.

Now, an assembler at the time of assembling has no information about the address of these extern symbols. It is the job of the linker to resolve them once assembling is over.

So, $\textsf{FALSE}.$
selected by
Answer:

Related questions

3 votes
3 votes
1 answer
1
gatecse asked May 3, 2021
2,400 views
State whether the following statements are True or False with reasons for your answer:A two pass assembler uses its machine opcode table in the first pass of assembly.
19 votes
19 votes
2 answers
2
Kathleen asked Oct 5, 2014
2,947 views
State whether the following statements are True or False with reasons for your answerA subroutine cannot always be used to replace a macro in an assembly language program...
12 votes
12 votes
2 answers
3
Kathleen asked Oct 5, 2014
2,649 views
State whether the following statements are True or False with reasons for your answer:Coroutine is just another name for a subroutine.
22 votes
22 votes
3 answers
4
Kathleen asked Oct 5, 2014
7,340 views
Let $p$ and $q$ be propositions. Using only the Truth Table, decide whether $p \Longleftrightarrow q$ does not imply $p \to \lnot q$is True or False.