This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⭐ Total Stars: 514 | |
➕ Total Commits: 2,851 | |
🔀 Total PRs: 231 | |
🚩 Total Issues: 86 | |
📦 Contributed to: 35 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .data | |
msg db 'Enter your name: ', 0 | |
msg_len equ $ - msg | |
buffer resb 64 ; Buffer to store the user's input | |
output_msg db 'Hello, ', 0 | |
section .text | |
global _start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .data | |
hello db 'Hello, World!',0 | |
section .text | |
global _start | |
_start: | |
; write the string to stdout | |
mov eax, 4 ; system call number for sys_write | |
mov ebx, 1 ; file descriptor 1 is stdout |