RRB Junior Engineer / DMS / CMA 2019 · Question 3571 of 3719
Concepts The Assembler is of two types: Single-pass Assembler An Assembler pass is one complete scan of the source program input from an assembler. It has the advantage that every source statement processed only once. it would face a problem while translating forward references. – This problem can be solved as below: Instructions containing forward references can be left incomplete until the address of the referenced symbol becomes known. These incomplete instructions are placed into a table called as Table of Incomplete Instructions (TII) on encountering its definition, its address can be filled into that instruction. Multi-pass Assembler Multi-pass assemble resolves the problem of forwarding reference by using more than one pass. In first-pass analysis is takes place in which LC processing is performed and symbols defined in the program are entered into the symbol table. During the second pass, statements are processed or synthesized to generate machine instructions. Assembly Language Program Equivalent Target Code Pass I Pass II Intermediate Code Hence Option 2 is correct
Source: RRB JE 2019 (CBT 2) (IT) Previous Year Paper (30 Aug 2019) — prepp.in solved-paper PDF (answer key with explanations) · reliable-secondary
Practice the full RRB Junior Engineer / DMS / CMA 2019 paper
Timed test with all 3719 questions, just like the real exam.
Start test