Computer Revolution (www.comrevo.com)
Search This Website
Menu Bar
Home
General
Compiler
LEX & YACC
GATE
Cloud Computing
CUDA
MPI
OpenCL
Lisp
OpenMP
Web Designing
Linux
Database
Networking
Data Structures
Java
Android
Multi-Threading
Blogging Tips
YouTube Tips
Vocabulary
PICT
PPL
Contact
Selenium
Subscribe Youtube Channel
Amazon Links
Udemy Courses
Tuesday, 6 June 2017
Write intermediate code for a=b+c*d.
Intermediate code for a=b+c*d is as follows:
t1=c
t2=d
t3=t1*t2
t4=b
t5=t4+t3
a=t5
Optimized Intermediate code will be as follows:
t1=c
t2=d
t3=t1*t2
t4=b+t3
a=t4
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment