blob: 80965b45bd2ce49176cc31d8318d7140d0cdcff5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
%include "syscalls.asm"
start:
mov ecx, ' '
loop:
inc ecx
mov eax, SC_PUTCH ;temporarily defined for writing one char to screen
mov ebx, ecx
int 64
mov eax, SC_SLEEP ;temporary syscall for sleeping
mov ebx, 30 ;20ms
int 64
cmp ecx, 127
jnz loop
mov eax, 0
mov eax, SC_PUTCH
mov ebx, 10 ;newline
int 64
int 66 ;finish task
end:
|