Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
