Computer Organization & Architecture (3140707) MCQs

MCQs of Assembly Language Programming

Showing 21 to 30 out of 35 Questions
21.
During which pass, assembler generates a table that correlates all user-defined address symbols with binary equivalent?
(a) First
(b) Second
(c) Third
(d) Fourth
Answer:

Option (a)

22.
Full-form of LC?
(a) Least Common
(b) Location Counter
(c) Load Counter
(d) List Counter
Answer:

Option (b)

23.
Which pseudo-instruction should not have label?
(a) DEC
(b) HEX
(c) HLT
(d) END
Answer:

Option (d)

24.
If the line of code has no label, which symbol is next checked by the assembler?
(a) END
(b) DEC
(c) ORG
(d) HEX
Answer:

Option (c)

25.
Which of the following table is generated during first pass of assembler?
(a) Pseudo-instruction table
(b) MRI table
(c) Non-MRI table
(d) Address symbol table
Answer:

Option (d)

26.
Which instructions are first checked in second pass of assembler?
(a) Pseudo-instruction
(b) MRI
(c) Non-MRI
(d) Any of above
Answer:

Option (a)

27.
When a symbol is found in MRI table, the assembler extracts its 3-bit code and inserts it in bits?
(a) 12-14
(b) 2-4
(c) 1-3
(d) 13-15
Answer:

Option (b)

28.
Which of the following symbol is detected as an error by second pass assembler?
(a) DEC
(b) HLT
(c) SRT
(d) SNA
Answer:

Option (c)

29.
In a program to add 100 numbers, which instruction should be written to initialize counter as 100?
(a) HEX 100
(b) DEC 100
(c) HEX 96
(d) DEC -100
Answer:

Option (d)

30.
Which instruction should be written before CIR or CIL to perform logical shift operation?
(a) CLE
(b) CLA
(c) SNA
(d) SZE
Answer:

Option (a)

Showing 21 to 30 out of 35 Questions