A symbol declared as ‘external’ in an assembly language program is assigned an address outside the program by the assembler itself.
View worked solution
Answer: 0
The statement is False (represented as 0).
Explanation:
- An external symbol is a symbol (such as a variable or function name) that is referenced in the current assembly program but defined in a separate, independently compiled module.
- During assembly, the assembler only processes the current source file. Since the definition of the external symbol lies in another module, the assembler cannot determine or assign its address.
- Instead, the assembler marks this symbol as unresolved in the object file's external reference table.
- The actual address resolution and binding are performed later by the linker (or loader) when it combines all the object modules to produce the final executable.
Therefore, the assembler itself does not assign an address to an external symbol.
Free practice · Your answers on this page are not saved.
