Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
MadeEasy Test Series: Compiler Design - Register Allocation
Nandkishor3939
asked
in
Compiler Design
Jan 7, 2019
recategorized
Mar 4, 2019
by
Rishi yadav
514
views
0
votes
0
votes
made-easy-test-series
compiler-design
register-allocation
Nandkishor3939
asked
in
Compiler Design
Jan 7, 2019
recategorized
Mar 4, 2019
by
Rishi yadav
by
Nandkishor3939
514
views
answer
comment
Follow
share this
share
2 Comments
by
eyeamgj
commented
Jan 7, 2019
reply
Follow
share this
I M GETTING 4 ... WHAT IS CORRECT ANSWERR?
0
0
by
Nandkishor3939
commented
Jan 7, 2019
reply
Follow
share this
Yeah 4 is the given correct answer please check out what i got in the bellow answer is it correct?
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
2
answers
1
sumedha bhatia
asked
in
Compiler Design
Aug 23, 2018
1,916
views
MadeEasy Test Series: Compiler Design - Register Allocation
The following program uses six different variables p, q, r, s, t and u. The code is: p=6 q=7 t=p*q s=t+p u=8 u=s*p s=p+u r=r*q t=t+p return t Assume that all operations take their operands from registers, the minimum ... is 5, but my answer is 4. I think that the step u=8 can be skipped since 'u' is being reinitialized in the next step.
sumedha bhatia
asked
in
Compiler Design
Aug 23, 2018
by
sumedha bhatia
1.9k
views
made-easy-test-series
compiler-design
register-allocation
0
votes
0
votes
2
answers
2
palashbehra5
asked
in
Compiler Design
Jan 14, 2022
694
views
Register Allocation | Made Easy Full Syllabus Test
Given problem and answer : I am getting 3 minimum registers as answer, can anyone verify? here's how I am getting 3 : T1 = r T2 = s T1 = T1 * T2 T2 = t T3 = u T2 = T2 – T3 T1 = T1 * T2 // T2 and T3 are free now T2 = p T3 = q T2 = T2 * T3 T3 = t T2 = T2 + T3 T2 = T1 + T2
palashbehra5
asked
in
Compiler Design
Jan 14, 2022
by
palashbehra5
694
views
register-allocation
made-easy-test-series
compiler-design
0
votes
0
votes
0
answers
3
nbhatt
asked
in
Compiler Design
Jan 12, 2023
433
views
register allocation
nbhatt
asked
in
Compiler Design
Jan 12, 2023
by
nbhatt
433
views
compiler-design
register-allocation
ace-test-series
8
votes
8
votes
1
answer
4
Kapil
asked
in
Compiler Design
Nov 2, 2016
2,993
views
How to draw register allocation interference graph ?
How to draw register allocation interference graph ? Can anyone explain this along with " What is a live variable "? Explain with the example given below ? a = 1 b = 10 c = 20 d = a + b e = c + d f = c + e b = c + e e = b + f d = 5 + e return d + f
Kapil
asked
in
Compiler Design
Nov 2, 2016
by
Kapil
3.0k
views
compiler-design
register-allocation
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(24)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(682)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
243k
comments
79.7k
users
Recent Blog Comments
Hlo I'm Rupesh I got AIR 3485 in gate CS and AIR...
@Ajay Sasank here is the direct link...
Thank you for the post didi My GATE 2023 & 2024...
I Hope it helps 😊
Today's best post I seen thank you for motivation
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy