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
Recent questions tagged target-code-generation
0
votes
0
answers
1
If case values are widely spaced, it is better to use (A) Table search (B) Jump table (C) Either jump table or simple table (D) None of the other options
sandip_1999
asked
in
Compiler Design
May 15, 2022
by
sandip_1999
199
views
compiler-design
target-code-generation
0
votes
0
answers
2
Ullman(2e) Exercise-8.3.2 page no-524 Code Generation
Generate code for the following three-address statements assuming stack allocation where register SP points to the top of the stack x = 1 x=a x = a + 1 x = a+b The two statements x = b * c y = a + x
aditi19
asked
in
Compiler Design
Apr 1, 2019
by
aditi19
965
views
compiler-design
intermediate-code
target-code-generation
stack
pointers
1
vote
1
answer
3
Zeal Test Series 2018: Compiler Design - Target Code Generation
Many compilers are divided into two largely independent parsers: a front- end, responsible for analyzing the source code, and a back -end, responsible for generating the target code. What is the most important motivation for ... a compiler is build by a large team of programmers. 4.To minimize memory requirements on modern machines.
Prince Sindhiya
asked
in
Compiler Design
Dec 27, 2018
by
Prince Sindhiya
678
views
zeal
compiler-design
target-code-generation
zeal2018
0
votes
0
answers
4
General Topic Doubt Compiler Design: Live Variable
Ronish Jariwala 1
asked
in
Compiler Design
Apr 15, 2018
by
Ronish Jariwala 1
394
views
compiler-design
symbol-table
code-optimization
target-code-generation
general-topic-doubt
0
votes
1
answer
5
compiler syllabus
target code generation is in syllabus of gate 2018?
arch
asked
in
Compiler Design
Nov 6, 2017
by
arch
406
views
compiler-design
target-code-generation
descriptive
0
votes
1
answer
6
types of compiler
Incremental-compiler is a compiler (a) which is written in a language that is different from the source language (b) that generates object code for its host machine (c) which is written in a language that is same as the source language (d) that allows a modified position of a program to be compiled
vikash tyagi
asked
in
Compiler Design
May 5, 2017
by
vikash tyagi
1.1k
views
compiler-design
target-code-generation
descriptive
0
votes
1
answer
7
What to study in code optimization?..Please list the topics
Please can anyone list the topics to study in this part. The syllabus only states basics of code generation and optimization. Anyone who had prepared gate earlier. What did you study?
Tridhara Chakrabarti
asked
in
Compiler Design
Jan 23, 2017
by
Tridhara Chakrabarti
1.3k
views
compiler-design
code-optimization
target-code-generation
intermediate-code
0
votes
1
answer
8
How interpreter works compared to compiler?
Pick the correct statement about interpreter: A. No Intermediate Object Code is Generated B. No machine code is generated I. A II. B III. Both A and B Iv. Neither a nor B
sh!va
asked
in
Compiler Design
Dec 8, 2016
by
sh!va
400
views
compiler-design
target-code-generation
1
vote
1
answer
9
Cross Compiler and Bootstrapping are _______
What is the difference between Cross Compiler and Bootstrapping ?
LavTheRawkstar
asked
in
Compiler Design
Nov 10, 2016
by
LavTheRawkstar
13.6k
views
compiler-design
code-optimization
target-code-generation
0
votes
2
answers
10
Global Data Flow Analysis is _______
Please explain what is Global Data Flow Analyis in Code optimization ?
LavTheRawkstar
asked
in
Compiler Design
Nov 8, 2016
by
LavTheRawkstar
3.8k
views
compiler-design
target-code-generation
code-optimization
0
votes
1
answer
11
doubt
Q. which of the following is not part of compiler?? A) code generator B) linker C) loader D) code optimizer
Hradesh patel
asked
in
Compiler Design
Nov 6, 2016
by
Hradesh patel
478
views
compiler-design
target-code-generation
16
votes
3
answers
12
GATE CSE 2013 | Question: 49
The following code segment is executed on a processor which allows only register operands in its instructions. Each instruction can have atmost two source operands and one destination operand. Assume that all variables are dead after this code segment. ... without any spill to memory? Do not apply any optimization other than optimizing register allocation. 3 4 5 6
go_editor
asked
in
Compiler Design
Apr 21, 2016
by
go_editor
6.8k
views
out-of-syllabus-now
gatecse-2013
normal
compiler-design
target-code-generation
code-optimization
3
votes
0
answers
13
Links to study Data flow analysis and register allocation using graph coloring.
All the links that I could find on the web were too long. Kindly refer a video or a web link that you may find easier to grasp from?
Akshay Jindal
asked
in
Compiler Design
Nov 1, 2015
by
Akshay Jindal
527
views
compiler-design
target-code-generation
49
votes
4
answers
14
GATE CSE 2004 | Question: 10
Consider the grammar rule $E \rightarrow E1 - E2$ for arithmetic expressions. The code generated is targeted to a CPU having a single user register. The subtraction operation requires the first operand to be in the register. If $E1$ and $E2$ do ... Evaluation of $E1$ and $E2$ should necessarily be interleaved Order of evaluation of $E1$ and $E2$ is of no consequence
Vikrant Singh
asked
in
Compiler Design
Nov 12, 2014
by
Vikrant Singh
13.4k
views
gatecse-2004
compiler-design
target-code-generation
normal
64
votes
7
answers
15
GATE CSE 2010 | Question: 37
The program below uses six temporary variables $a, b, c, d, e, f$. 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 Assuming that all operations take their operands from registers, what is the minimum number of registers needed to execute this program without spilling? $2$ $3$ $4$ $6$
go_editor
asked
in
Compiler Design
Sep 30, 2014
by
go_editor
21.4k
views
gatecse-2010
compiler-design
target-code-generation
register-allocation
normal
24
votes
2
answers
16
GATE CSE 1997 | Question: 4.9
The expression $( a * b) * c \; op \dots$ where ‘op’ is one of ‘$+$’, ‘$*$’ and ‘$\uparrow$’ (exponentiation) can be evaluated on a CPU with single register without storing the value of ($a * b$) if $\text{‘op’}$ is ‘$+$’ or ‘$*$’ $\text{‘op’}$ is ‘$\uparrow$’ or ‘$*$’ $\text{‘op’}$ is ‘$\uparrow$’ or ‘$+$’ not possible to evaluate without storing
Kathleen
asked
in
Compiler Design
Sep 29, 2014
by
Kathleen
4.9k
views
gate1997
compiler-design
target-code-generation
register-allocation
normal
36
votes
5
answers
17
GATE CSE 2013 | Question: 48
The following code segment is executed on a processor which allows only register operands in its instructions. Each instruction can have atmost two source operands and one destination operand. Assume that all variables are dead after this code segment. c = ... while preserving correctness. What is the minimum number of spills to memory in the compiled code? 0 1 2 3
Arjun
asked
in
Compiler Design
Sep 24, 2014
by
Arjun
28.2k
views
gatecse-2013
normal
compiler-design
target-code-generation
code-optimization
32
votes
4
answers
18
GATE CSE 2003 | Question: 59
Consider the syntax directed definition shown below. ... $t_1 = Y+Z; X=t_1$ $t_1 =Y; t_2=t_1 +Z; X=t_2$ $t_1 =Y; t_2=Z; t_3=t_1+t_2; X=t_3$
Kathleen
asked
in
Compiler Design
Sep 17, 2014
by
Kathleen
8.4k
views
gatecse-2003
compiler-design
target-code-generation
normal
To see more, click for the
full list of questions
or
popular tags
.
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
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(683)
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 questions tagged target-code-generation
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