Programming Language
Definition
First program
Machine code
Assembler
C
JavaScript
Thank you for attention
255.37K
Categories: programmingprogramming englishenglish

Programming language

1. Programming Language

Shumov Georgy
KKSO-03-14

2. Definition

Alphabet
Rule constructing
chains
The objective
function
PL
Language
chains
Semantics

3. First program

Turing machine

4. Machine code

5. Assembler

section .data
strl db 'Hello world',0xA
len equ $-strl
section .text
global _start
_start:
mov eax,[strl]
mov[strl],eax
mov eax,4
mov ebx,1
mov ecx,strl
mov edx,len
int 0x80
mov eax,1
xor ebx,ebx
int 0x80
hlt

6. C

#include <stdio.h>
int main()
{
printf(“Hello world”);
return 0;
}

7. JavaScript

<html>
<head>
Javascript
</head>
<body>
<p> Begin </p>
<script>
alert( 'Hello world' );
</script>
<p> End </p>
</body>
</html>

8. Thank you for attention

English     Русский Rules