Similar presentations:
Programming language
1. Programming Language
Shumov GeorgyKKSO-03-14
2. Definition
AlphabetRule constructing
chains
The objective
function
PL
Language
chains
Semantics
3. First program
Turing machine4. Machine code
5. Assembler
section .datastrl 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>