0% found this document useful (0 votes)
194 views3 pages

Spos Assignment - 2

The document contains an assignment on macros and linking for a Computer Engineering course. It includes 12 questions covering: 1) macro definition, call, and expansion with an example; 2) advanced macro facilities and parameters with an example; 3) the design of a two-pass macro processor including databases used; 4) nested macro calls and handling; 5) comparing macros and subroutines; 6) different loader schemes; 7) the design of a direct linking loader and required data structures; 8) MS-DOS linker in details; 9) why program relocation is required and how it is performed; 10) static and dynamic linking and dynamic link libraries; 11-12) showing the contents of macro tables and arrays for code

Uploaded by

Anand Gharu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
194 views3 pages

Spos Assignment - 2

The document contains an assignment on macros and linking for a Computer Engineering course. It includes 12 questions covering: 1) macro definition, call, and expansion with an example; 2) advanced macro facilities and parameters with an example; 3) the design of a two-pass macro processor including databases used; 4) nested macro calls and handling; 5) comparing macros and subroutines; 6) different loader schemes; 7) the design of a direct linking loader and required data structures; 8) MS-DOS linker in details; 9) why program relocation is required and how it is performed; 10) static and dynamic linking and dynamic link libraries; 11-12) showing the contents of macro tables and arrays for code

Uploaded by

Anand Gharu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Pune Vidyarthi Griha’s

COLLEGE OF ENGINEERING, NASHIK – 4


COMPUTER ENGINEERING DEPARTMENT
Subject : SPOS ASSIGNMENT NO – 02 Unit : II

1. Explain the Macro definition, call & expansion in details with example.

2. Explain the Advanced Macro Facilities with example. (parameter also)

3. Explain the Design of Two pass Macro processor in details. (design issues

and databases or data structure used for Pass-1 & Pass-2.)

4. Explain the nested macro calls with example.(handling of nested macro)

5. Compare Macro and Subroutines.

6. List & explain different loader scheme in brief.

7. Explain design of direct linking loader & explain required data structure.

8. Explain MS-DOS linker in details.

9. Why program relocation is required and how it is performed.

10. State static & dynamic linking. Also explain Dynamic Link Library.

11. Consider the following code segment. And show the content of

i. Macro Name Table

ii. Macro Definition Table

iii. Argument List Array

Prepared BY : Prof. Gharu Anand


12. Consider the following code segment & show the content of
i. Macro Name Table

ii. Macro Definition Table

iii. Argument List Array

Prepared BY : Prof. Gharu Anand


****************** Best of Luck *******************

Prepared BY : Prof. Gharu Anand

You might also like