hello brother..
how to read it in ASM...i ve syscall table but i dont understand how to use n read it
Linux System Call Table
help me to read it...
thanks
6 replies to this topic
#1
Posted 19 September 2009 - 09:11 AM
|
|
|
#2
Guest_h4x_*
Posted 20 September 2009 - 05:58 AM
Guest_h4x_*
example, you want to call sys_fork:
mov eax,2 mov ebx,0 mov ecx,0 mov edx,0 mov esi,0 mov edi,0 int 80hand there is no 'esx'
Edited by Jaan, 21 September 2009 - 08:45 AM.
Please use code tags when you are posting your codes !
#3
Posted 20 September 2009 - 07:49 AM
give the explanation of the code...couse i understand syscall for exit with explanation of code ASM, thank for reply...
#4
Guest_h4x_*
Posted 20 September 2009 - 08:14 AM
Guest_h4x_*
what you dont understand?
only sucky thing about that table is that i dont know if pointer is in, out or both.
you pass arguments on registers.
only sucky thing about that table is that i dont know if pointer is in, out or both.
you pass arguments on registers.
#5
Posted 20 September 2009 - 08:26 AM
like sys_exit
xor eax, eax //its make null of register
like that, give the explanation for it, couse im new understanding ASM
xor eax, eax //its make null of register
like that, give the explanation for it, couse im new understanding ASM
#6
Guest_h4x_*
Posted 20 September 2009 - 09:49 AM
Guest_h4x_*
so first of all you should get fasm. i dont know what your using, but get fasm.
mov = copy data from 2nd operand to first.
mov can specify (1 operand) reg, mem, and 2nd reg, mem, and imm value.
int 80h is interrupt, cpu will call proper function to handle it. in lunix its ring0 window, for safe memory managment.
i dont know what else u want to know, just ask.
mov = copy data from 2nd operand to first.
mov can specify (1 operand) reg, mem, and 2nd reg, mem, and imm value.
int 80h is interrupt, cpu will call proper function to handle it. in lunix its ring0 window, for safe memory managment.
i dont know what else u want to know, just ask.
#7
Posted 20 September 2009 - 02:04 PM
ok thanks sir...i will develope my language,hehehe
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









