Subversion Repositories Kolibri OS

Rev

Rev 339 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 339 Rev 485
Line 1... Line 1...
1
macro wait time {
1
macro wait time {
2
    mov     ebx,time
2
    mov     ebx,time
3
    mov     eax,5
3
    mov     eax,5
4
    int     0x40
4
    mcall
5
}
5
}
Line 6... Line 6...
6
 
6
 
7
macro get_time_counter result {
7
macro get_time_counter result {
8
    mov     eax,26
8
    mov     eax,26
9
    mov     ebx,9
9
    mov     ebx,9
10
    int     0x40
10
    mcall
11
    mov     result,eax
11
    mov     result,eax
Line 12... Line 12...
12
}
12
}
13
 
13
 
14
macro exit {
14
macro exit {
15
    mov     eax,-1
15
    or     eax,-1
16
    int     0x40
16
    mcall