in Compiler Design retagged by
1,434 views
1 vote
1 vote

In a single pass assembler, most of the forward references can be avoided by putting the restriction

  1. on the number of strings/lifereacts.
  2. that the data segment must be defined after the code segment.
  3. on unconditional rump.
  4. that the data segment be defined before the code segment.
in Compiler Design retagged by
by
1.4k views

2 Answers

1 vote
1 vote
Option D..That the Data segment must be defined before the cide segment to avoid forward references.
0 votes
0 votes
answer;- (d)

reason:-

two methods can be used -

either all labels used in forward references are defined in the source program before they are referenced

or

forward references to data items are prohibited.
Answer:

Related questions