1.

In a single pass assembler, most of the forward references can be avoided by putting the restriction ___________(a) On the number of strings/life reacts(b) Code segment to be defined after data segment(c) On unconditional rump(d) None of the mentionedI had been asked this question in an internship interview.Enquiry is from Syntax-Directed Definitions and Translations in portion Syntax Directed Definition and Translations of Compiler

Answer»

Correct choice is (b) CODE segment to be defined after data segment

Best explanation: A single pass assembler SCANS the PROGRAM only once and creates the equivalent binary program.



Discussion

No Comment Found

Related InterviewSolutions