kolibrios/programs/develop/metcc/trunk/libc/mesys/process.asm

13 lines
257 B
NASM
Raw Normal View History

format ELF
section '.text' executable
public _msys_get_process_table
_msys_get_process_table:
;arg1 - pointer to information
;arg2 - pid
mov edx,ebx
mov eax,9
mov ebx,[esp+4]
mov ecx,[esp+8]
int 0x40
mov ebx,edx
ret 8