Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1-You have machine M, and executable binaries for a C->M host compiler. You also have C source for Pascal->C compiler. Show what you have with

1-You have machine M, and executable binaries for a C->M host compiler. You also have C source for Pascal->C compiler. Show what you have with tombstone diagrams

2-You write an application Prj in C. Show all steps until generative execution. Show what you have with tombstone diagrams

3-Redo showing all steps for interpretive execution (note you dont have an interpreter yet). Show what you have with tombstone diagrams

4-You then write the same application in Pascal. Show all that is needed for any execution. Show what you have with tombstone diagrams

5-After doing the above, you need to run both projects on small-resource machine N. Assuming that N is too small to run any translators, what you do? Show what you have with tombstone diagrams.

6-Now your N is larger (maybe you bought more memory) and you can now start running compilation on N, and you want to implement a compiler somehow rather than buy (maybe no one sells compilers for N), what you do? Show what you have with tombstone diagrams.

7-In the example in the notes, the Pascal execution environment was improved by implementing PCode->M compiler. But the Pascal->PCode compiler could be changed to compile directly into M instead. Assume this is the approach, show what is modified, how compiled, and explain what can be improved this way. Show what you have with tombstone diagrams

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

Develop clear policy statements.

Answered: 1 week ago

Question

Draft a business plan.

Answered: 1 week ago

Question

Describe the guidelines for appropriate use of the direct plan.

Answered: 1 week ago