Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Run issues related to the Tiny Language Compiler . Q 1 According to the last two digits of today's date ( 2 0 2 4
Run issues related to the Tiny Language Compiler
Q According to the last two digits of today's date write a simple program using the following statements and report the log generated by tlc
Date modulo is while statement
Date modulo is for statement
Date modulo is ifelse statement
discuss the results considering the number of lines in the log
Q Do the following things about dowhilestatement
Syntax
do statement while expression ;
Example program of dowhile:
do
a a;
while a ;
Explain the differences from whilestatement in terms of their syntax and behavior.
Show the assumed assembly code translated from the dowhileloop above by referring to the assembly code translated from a whileloop program by tlc
while a
a a;
Modify tlc to process dowhilestatement.
Q Extend tlc
Examples
Accept array variables
Accept pointer variables
Accept division
This extension MUST consider the specification of register usage
in x instruction set.
Implement something optimization technique
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started