0x10. C Variadic functions Task 4 - humtej1204/holbertonschool-low_level_programming GitHub Wiki

4. Real programmers can write assembly code in any language

#advanced

Write a 64-bit program in assembly that prints Hello, World, followed by a new line.

  • You are only allowed to use the system call write (use int or syscall, not a call)
  • Your program will be compiled using nasm and gcc (as follows)
julien@ubuntu:~/0x0f. Variadic functions$ nasm -f elf64 100-hello_world.asm && gcc -no-pie -std=gnu89 100-hello_world.o -o hello
julien@ubuntu:~/0x0f. Variadic functions$ ./hello 
Hello, World
julien@ubuntu:~/0x0f. Variadic functions$ 

Repo:

  • GitHub repository: holbertonschool-low_level_programming
  • Directory: 0x10-variadic_functions
  • File: 100-hello_world.asm

More info about how to resolve this exercise: Here