Professional Documents
Culture Documents
Sustavna Programska Potpora Vjezba
Sustavna Programska Potpora Vjezba
1. global _start
section .data
section .text
_start:
mov eax, 4
mov ebx, 1
int 0x80
mov eax, 1
mov ebx, 67
int 0x80
2. global _start
section .data
section .text
_start:
mov eax, 4
mov ebx, 42
int 0x80
mov eax, 1
mov ebx, 11
int 0x80
3. global _start
section .data
section .text
_start:
mov eax, 4
mov ebx, 1
int 0x80
mov eax, 1
mov ebx, 0
int 0x80
4. global _start
section .data
section .text
_start:
mov eax, 4
mov ebx, 1
mov eax, 1
mov ebx, 0
int 0x80
int 0x80
int 0x80
5. global _start
section .data
addr db "patak"
section .text
_start:
mov eax, 4
mov ebx, 1
mov edx, 5
int 0x80
mov eax, 1
mov ebx, 0
int 0x80