Skip to content

Commit

Permalink
Merge pull request fool2fish#39 from eliasdiem/master
Browse files Browse the repository at this point in the history
Answer 1.1.4
  • Loading branch information
fool2fish committed Sep 17, 2014
2 parents 2a4908f + 9211e28 commit 17c03a2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion ch01/1.1/1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,24 @@ produces assembly language rather than machine language?
#### Answer

The compiler may produce an assembly-language program as its output, because
assembly language is easier to produce as output and is easier to debug.
assembly language is easier to produce as output and is easier to debug.

### 1.1.4

A compiler that translates a high-level language into another high-level
language is called a *source-to-source* translator. What advantages are there to
using C as a target language for a compiler?

#### Answer

For the C language there are many compilers available that compile to almost
every hardware.

### 1.1.5

Describe some of the tasks that an assembler needs to perform.

#### Answer

It translates from the assembly language to machine code. This machine code is
relocatable.

0 comments on commit 17c03a2

Please sign in to comment.