Questions about the parts of a compiler that select assembly instructions or machine code specific to a specific target computer architecture.

learn more… | top users | synonyms

-3
votes
0answers
12 views

can i print a geometric structures using cpp program in my cppdroid android app? [on hold]

I tried to display proper geometric figures but have don't have proper code to display it in my android mobile.I want to display geometric figures like straight line.I request you to give guidance ...
2
votes
0answers
19 views

Framework of code generation in model-driven development workflow. Is formal language semantics necessary?

I am implementing worflow where the code in industrial programming languages (JavaScript and Java) should be generated from the formal (formally verified) expressions (from ontologies as objects and ...
3
votes
2answers
72 views

Is there a described algorithm converting _from_ Continuation Passing Style?

Continuation Passing Style (CPS) is a form of code where the control is passed explicitly, by passing the continuation of the code at each call point, unlike direct style. There are many ...
1
vote
2answers
80 views

Number of operations performed in increment operators [closed]

How many operations are performed in the following in order to get a running time function of an algorithm: x = x + 1 x += 1 <...
2
votes
0answers
25 views

Codes for correcting a single deletion and re-ranking of a permutation

I was struggling with this paper about codes which can correct single deletion and re-ranking in permutations, http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6875337 [Published in:...
1
vote
1answer
40 views

Assigning one variable to another in 3 address code?

3 address code is a very common topic in many of the CS theories. I encountered it while studying Compiler Design. According to the Wikipedia article, it says - Each TAC instruction has at most ...
3
votes
1answer
66 views

About codes over $\mathbb{F}_2$

I was looking through these notes but I am not sure I can locate the answer to these questions of mine - it would be great if someone can just even point out what to look for! So any set of binary ...
1
vote
1answer
48 views

Programs for artificial system design? [closed]

Are there program systems that can discover the need of routines - and then design them, code them and use them as parts of the system? Any group of humans trying to pursue an activity has to ...
0
votes
1answer
95 views

Conversion from assembly program to low-level machine language

While studying COMPILER-DESIGN through an online book from Google Books, referenced as Compiler Design by A.A.Puntambekar, I got stuck across a line. Actually, I am more curious to know the inner-...
8
votes
5answers
2k views

Why do compilers produce assembly code?

Assembly language is converted in to machine language by assembler. Why would a compiler convert high-level language to assembly? Can't it directly convert from the high-level language to machine code?...
1
vote
2answers
192 views

Some questions regarding compilers and assemblers

Lots of basic questions are there in my mind. I need to clear them. Statement 1: A compiler converts a human-readable codes to object codes, and those are converted to a machine code (executable) by ...
0
votes
1answer
114 views

What are current approaches to auto-parallelisation?

I am looking for answers which provide short overview of models and current state of research for auto-parallelisation of sequential code.