Assignment For System Software

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Assignment For System Software as PDF for free.

More details

  • Words: 257
  • Pages: 2
Assignment for system software 1. How does an assembler handle the following statements? Explain with an example for each (a) Constants (b) ORIGIN (c) LTORG (d) Explain Symbol reference/definition. 2. An assembly program contains the statement X EQU Y+25 Indicate how the EQU statement can be processed if (a)Y is a back reference (b)Y is a forward reference 3. Can the operand expression in an ORIGIN statement contain forward reference? If so, outline how the statement can be processed in a two pass assembly scheme.

4. A two pass assembler performs program listing and error reporting in pass 2 using the following strategy: Errors detected in pass 1 are stored in an error table. These are reported with pass 2 errors while producing the program listing. (a)Design the error table for use by pass 1 What is its entry format? What is the table organization? (b)Let the error messages (ex. Duplicate label…) be stored in an error table. Comment on the organization of this table. Comment on the organization of this table.

5.1. Develop complete program specification for the passes of a two pass assembler indicating (a) Tables for internal use of the passes (b) Tables to be shared between passes (c) Input (files and tables) for every pass

(d) Outputs (files and tables) for every pass 5.2. Recommend appropriate organization for the tables and files used in the two pass assembler of above problem Specify clearly why certain information is in the form of tables in memory while other information is in the form of file.

Related Documents

System Software For Unigrid
November 2019 8
System Software
November 2019 19
System Software
June 2020 7
System Software[midterm]
November 2019 6