Advertisement
Guest User

Untitled

a guest
May 7th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. .global main
  2.  
  3. .text
  4. main:
  5. movl $83, %edi # SYS_mkdir
  6. movl $folder, %esi # folder_name
  7. movl $0777, %edx # flags
  8. call syscall
  9.  
  10. ret # exit
  11. folder: .string "folder"
  12.  
  13. mov $83, %eax
  14. mov $folder, %ebx
  15. mov $0777, %ecx
  16. syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement