From cc422dded54b62c9e4a8c40409997f6d21602f07 Mon Sep 17 00:00:00 2001 From: stalker99699 <140491654+stalker99699@users.noreply.github.com> Date: Sun, 15 Feb 2026 14:16:40 +0500 Subject: [PATCH 1/2] Implement Hello World program in assembly Added assembly code to print 'Hello, World!' to the console. --- helloworld | 1 - helloworld.asm | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) delete mode 100644 helloworld create mode 100644 helloworld.asm diff --git a/helloworld b/helloworld deleted file mode 100644 index 557db03..0000000 --- a/helloworld +++ /dev/null @@ -1 +0,0 @@ -Hello World diff --git a/helloworld.asm b/helloworld.asm new file mode 100644 index 0000000..f233257 --- /dev/null +++ b/helloworld.asm @@ -0,0 +1,19 @@ +section .data + hello db 'Hello, World!', 0xA ; Строка с символом перевода строки + helloLen equ $-hello ; Вычисление длины строки + +section .text + global _start + +_start: + ; Системный вызов sys_write (вывод на экран) + mov rax, 1 ; Номер системного вызова sys_write + mov rdi, 1 ; Дескриптор файла (1 - stdout) + mov rsi, hello ; Указатель на строку + mov rdx, helloLen ; Длина строки + syscall ; Вызов ядра + + ; Системный вызов sys_exit (завершение) + mov rax, 60 ; Номер системного вызова sys_exit + xor rdi, rdi ; Код завершения 0 + syscall ; Вызов ядра From b2eedda8cbd594cb7eca04732c39f6b809098a8f Mon Sep 17 00:00:00 2001 From: stalker99699 <140491654+stalker99699@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:14:53 +0500 Subject: [PATCH 2/2] Update README with AI-generated project note --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0385e65..fe252ec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # Hello World -Here are the most popular and diverse types of hello world in different programming languages. / Здесь самые отбитые и разнообразные типы hello world на разных языках пронграмирования. +🤖 Этот проект на 100% сгенерирован с помощью ИИ. Простите меня. / 🤖 This project is 100% AI-generated. Forgive me. + +Here are the most popular and diverse types of hello world in different programming languages. + +Здесь самые отбитые и разнообразные типы hello world на разных языках пронграмирования.