Files
2026-11-11 11:25:56 +01:00

2.0 KiB
Raw Permalink Blame History

libasm

ressources

instructions

  • You must write 64-bit assembly. Beware of the "calling convention".
  • You can’t do inline ASM, you must do ’.s’ files.
  • You must compile your assembly code with nasm.
  • You must use the Intel syntax, not the AT&T syntax.
  • You must submit a main function that will test your functions and compile with your library to demonstrate that it is functional.
  • You must check for errors during syscalls and handle them properly when needed.
  • Your code must set the variable errno properly (you are allowed to call the extern ___error or errno_location).
  • ft_strlen (man 3 strlen)
  • ft_strcpy (man 3 strcpy)
  • ft_strcmp (man 3 strcmp)
  • ft_write (man 2 write)
  • ft_read (man 2 read)
  • ft_strdup (man 3 strdup, you can call to malloc)