Presentation is loading. Please wait.

Presentation is loading. Please wait.

C021TV-I3-S1.

Similar presentations


Presentation on theme: "C021TV-I3-S1."— Presentation transcript:

1 C021TV-I3-S1

2 I.3 Programming Higher level language and compilation Bugs
Machine code Higher level language and compilation Bugs Humans and languages

3 A computer is… Gérard Berry said:
A computer is completely stupid Computers/smartphones/tablet computers are not magical objects. They are very simple (but very fast) electronic devices. Cf gerard-berry-lordinateur-est-completement-con

4 Machine code A computer is stupid, so it can only obey very simple orders (tasks, instructions) depending on the GPU model: the assembler. These instructions are limited: moving global memory to local memory comparing two values adding two values jumping to another label of the program . . .

5 Machine code: example ⇒ we don’t want to write it this way!
movl movl cmpl jle movl addl $0, -8(%rbp) $7, -4(%rbp) $0, -4(%rbp) .L2 -4(%rbp), %eax %eax, -8(%rbp) .L2: movl -8(%rbp), %eax ⇒ we don’t want to write it this way!


Download ppt "C021TV-I3-S1."

Similar presentations


Ads by Google