Thread
:
Inline Asm
View Single Post
Aug 8th, 2004, 4:25 PM
#
2
apacz
Newbie
Join Date: Aug 2004
Posts: 2
Rep Power:
0
Ok, it's solved. Maybe it ll be helpful for others:
In this case it should looks like:
(
Toggle Plain Text
)
int main() { __asm__( "xorl %ebx,%ebx\n" "movb $0x17,%al\n" "int $0x80\n" ); return 0; }
int main() { __asm__( "xorl %ebx,%ebx\n" "movb $0x17,%al\n" "int $0x80\n" ); return 0; }
apacz
View Public Profile
Find More Posts by apacz