0% found this document useful (0 votes)
32 views

UNIT II Questions

The document discusses various concepts related to system software and assemblers: 1) It asks about the need for assembly language and defines common assembly language components like labels, opcodes, operands, and comments. 2) It discusses the basic functions of an assembler like translating assembly code to object code using directives, labels, and operation codes. 3) It asks about the features of one-pass and two-pass assemblers, including how they handle forward references, and the role of the location counter in tracking addresses in object code.

Uploaded by

Varun Ved
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

UNIT II Questions

The document discusses various concepts related to system software and assemblers: 1) It asks about the need for assembly language and defines common assembly language components like labels, opcodes, operands, and comments. 2) It discusses the basic functions of an assembler like translating assembly code to object code using directives, labels, and operation codes. 3) It asks about the features of one-pass and two-pass assemblers, including how they handle forward references, and the role of the location counter in tracking addresses in object code.

Uploaded by

Varun Ved
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SYSTEM SOFTWARE

1) Why an Assembly Language is needed? 2) What is an Assembler? 3) Explain the terms a)Label,b)Opcode,c)Operand,and d)Comment (What is the format in which the assembly language program is written?). 4) What are the basic functions of an assembler? 5) What are assembler Directives? 6) What are the functions of two pass assembler? 7) What is the format of the Object Program generated by the Assembler? 8) Give an example of object program generated by an Assembler. 9) What is forward reference? 10) Give an example of Assembly language along with the objectcode generated. 11) Write an Algorithm for pass 1 of SIC Assembler. 12) Write an algorithm for pass 2 of SIC assembler. 13) What are the Data Structures used in an Assembler? 14) Explain the features of a Symbol Table. 15) What is Location Counter? 16) What are the machine dependant fetures of a SIC/XE Assembler? 17) What is Program Relocation? 18) What are the advantages of program relocation? 19) What are program blocks? 20) How the program blocks are assembled? 21) What is one pass assembler? Explain the functioning of one-pass assembler. 22) What is a multi-pass assembler? Explain with an example,the functioning of a multi-pass assembler. 23) What is forward reference? 24) What are the symbol defining statements generally used in assemblers? 25) Write the steps required to translate the source program to object program. 26) What is the use of the variable LOCCTR(location counter) in assembler? 27) Define load and go assembler. 28) What are the two different types of jump statements used in MASM assembler?
29) What is meant by external references? 30) What are the machine independent features of an assembler? 31) Compare literals and Immediate operands Literals vs. Immediate Operands

You might also like