From 186999296820d2240dbc5f8d80b11db85a3a64cb Mon Sep 17 00:00:00 2001 From: Kakabre <106749067+Kakabre@users.noreply.github.com> Date: Thu, 11 Aug 2022 20:21:58 +0100 Subject: [PATCH 1/2] Update 101-hello_holberton.asm --- 0x11-singly_linked_lists/101-hello_holberton.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/0x11-singly_linked_lists/101-hello_holberton.asm b/0x11-singly_linked_lists/101-hello_holberton.asm index f09016c..7a43ecc 100644 --- a/0x11-singly_linked_lists/101-hello_holberton.asm +++ b/0x11-singly_linked_lists/101-hello_holberton.asm @@ -1,7 +1,7 @@ -; File: 101-hello_holberton.asm -; Auth: Brennan D Baraban -; Desc: 64-bit assembly program that prints -; Hello, Holberton followed by a new line. + + + + extern printf From 405e17252e3f4c964603ae2680d879fe9fe072fe Mon Sep 17 00:00:00 2001 From: Kakabre <106749067+Kakabre@users.noreply.github.com> Date: Thu, 11 Aug 2022 20:24:27 +0100 Subject: [PATCH 2/2] Delete 101-hello_holberton.asm --- .../101-hello_holberton.asm | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 0x11-singly_linked_lists/101-hello_holberton.asm diff --git a/0x11-singly_linked_lists/101-hello_holberton.asm b/0x11-singly_linked_lists/101-hello_holberton.asm deleted file mode 100644 index 7a43ecc..0000000 --- a/0x11-singly_linked_lists/101-hello_holberton.asm +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -extern printf - -section .text - global main - -main: - push rbp - - mov rdi,fmt - mov rsi,msg - mov rax,0 - call printf - - pop rbp - - mov rax,0 - ret - -section .data - msg: db "Hello, Holberton", 0 - fmt: db "%s", 10, 0