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.
Q1 According to the last two digits of today's date (20240607), write a simple program using the following statements and report the log generated by tlc.
- Date modulo 3 is 1- while statement
- Date modulo 3 is 2- for statement
- Date modulo 3 is 0- if-else statement
-discuss the results considering the number of lines in the log.
Q2 Do the following things about do-while-statement
Syntax
-do statement while ( expression ) ;
Example program of do-while:
do {
a = a+1;
} while (a <10);
Explain the differences from while-statement in terms of their syntax and behavior.
Show the assumed assembly code translated from the do-while-loop above by referring to the assembly code translated from a while-loop program by tlc.
while (a<10){
a = a+1;
Modify tlc to process do-while-statement.
Q3 Extend tlc
Examples
- Accept array variables
-Accept pointer variables
-Accept division
This extension MUST consider the specification of register usage
in x86-64 instruction set.
Implement something optimization technique

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!