---
title: "#nasm-x64 articles | Hashnode"
description: "Explore 14 articles tagged #nasm-x64 on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/nasm-x64"
---

Tag

# #nasm-x64

14 posts · 0 followers

[Em'](https://hashnode.com/@whispem) · [Aug 17](https://hashnode.com/posts/i-taught-my-cpu-to-sing-in-pure-assembly/6a82fc28078667457c2c4a24)

### [I taught my CPU to sing — in pure Assembly](https://whispem.hashnode.dev/i-taught-my-cpu-to-sing-in-pure-assembly?utm_source=hashnode&utm_medium=feed)

No libc. No audio library. No sound card driver. Just the processor and 44,100 numbers a second. I didn't come from computers.My background is languages and translation — human grammar, the kind with

5 min read · [whispem.hashnode.dev](https://whispem.hashnode.dev/i-taught-my-cpu-to-sing-in-pure-assembly?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Dec 10, 2025](https://hashnode.com/posts/even-or-odd-in-nasm-x8664/69392f92d1326107aec4e36d)

### [Even or Odd? in Nasm x86\_64](https://baremetal-bytes.hashnode.dev/even-or-odd-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

This mini project determines whether a given input (a command line argument) is even or odd. We begin once again by including our macro file, mymacros.inc, initialized variables and conversion of command line argument to integer (Read more on Working...

3 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/even-or-odd-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Dec 9, 2025](https://hashnode.com/posts/the-sum-of-the-first-n-positive-integers-in-nasm-x8664/6937e502bf2a6fa7c5460f4d)

### [The Sum of the first n positive integers in Nasm x86\_64](https://baremetal-bytes.hashnode.dev/the-sum-of-the-first-n-positive-integers-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

In this mini project, we code the sum of the first n integers using Gauss’ formula. Short Preview of Gauss’ formula Say, we need to sum the first 20 positive integers. The sum, S is given as; \\(S = 1+2+3+…+20\\) —————- (1) Note also that the sum can b...

4 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/the-sum-of-the-first-n-positive-integers-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Oct 31, 2025](https://hashnode.com/posts/converting-string-to-integer-in-nasm-x8664/69043776b51d256cffbc8af4)

### [Converting String to Integer in Nasm x86\_64](https://baremetal-bytes.hashnode.dev/converting-string-to-integer-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

In our previous lesson, we learned about how to get command line arguments. Sometimes, we may want the command line arguments passed to be of type integer instead of string for further computation or processing. Therefore, there is the inherent need ...

2 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/converting-string-to-integer-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Oct 31, 2025](https://hashnode.com/posts/working-with-command-line-arguments-in-nasm-x8664/6904304b4dd0f7716cd20365)

### [Working with Command Line Arguments in Nasm x86\_64](https://baremetal-bytes.hashnode.dev/working-with-command-line-arguments-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

Working with command line arguments in NASM x86\_64 is relatively easy. One only needs to know the value contained in the rsp register to extract command line arguments. That is mov r8, \[rsp\] ; Get the number of command line arguments and move it to r...

2 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/working-with-command-line-arguments-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

[Peter Gari](https://hashnode.com/@bytecommando) · [Oct 21, 2025](https://hashnode.com/posts/reverse-engineering-101-hello-world/68f76d4ab5dbb71bf5e4544c)

### [Reverse Engineering 101; Hello World](https://aboutvirtualmachines.hashnode.dev/reverse-engineering-101-hello-world?utm_source=hashnode&utm_medium=feed)

Learn to write, assemble, and reverse-engineer x86 applications using nasm and objdump with step-by-step guidance in this comprehensive tutorial

2 min read · [aboutvirtualmachines.hashnode.dev](https://aboutvirtualmachines.hashnode.dev/reverse-engineering-101-hello-world?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Sep 11, 2025](https://hashnode.com/posts/determining-the-length-of-a-string-in-nasm-x64/68c31b7f030b9a518d95db22)

### [Determining the Length of a String in Nasm x64](https://baremetal-bytes.hashnode.dev/determining-the-length-of-a-string-in-nasm-x64?utm_source=hashnode&utm_medium=feed)

When programming in NASM x64 assembly, one common beginner’s task is to determine the length of a string. Unlike higher-level languages such as Python or C#, assembly does not come with built-in string functions, you have to either calculate the leng...

3 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/determining-the-length-of-a-string-in-nasm-x64?utm_source=hashnode&utm_medium=feed)

[Shuja Ahmad](https://hashnode.com/@hex0) · [Aug 28, 2025](https://hashnode.com/posts/hijack-the-cpu/68b06fe7f8c55498bc53510e)

### [How to Write Your First Bootloader from Scratch (No OS Needed)](https://hex0.hashnode.dev/hijack-the-cpu?utm_source=hashnode&utm_medium=feed)

How I learned to talk directly to the hardware, and how you can hijack your CPU's boot process with just 512 bytes.

7 min read · [hex0.hashnode.dev](https://hex0.hashnode.dev/hijack-the-cpu?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Jul 19, 2025](https://hashnode.com/posts/array-indexing-in-nasm-x86-64/687b688ce6724aaed7c35468)

### [Array Indexing in Nasm x86-64](https://baremetal-bytes.hashnode.dev/array-indexing-in-nasm-x86-64?utm_source=hashnode&utm_medium=feed)

In our previous lesson, we learnt how to use and implement macros to make our Nasm x64 code efficient and non-repetitive. Intro to Macros Arrays Are 0-Indexed (Like Any Real Language 🙂) In Nasm x64, arrays (including strings) are 0-indexed, just lik...

2 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/array-indexing-in-nasm-x86-64?utm_source=hashnode&utm_medium=feed)

[Rawley Amankwah](https://hashnode.com/@rawleyperetz) · [Jul 18, 2025](https://hashnode.com/posts/macros-in-nasm-x86-64/687a2db378f86c60b4e2d990)

### [Macros in Nasm x86-64](https://baremetal-bytes.hashnode.dev/macros-in-nasm-x86-64?utm_source=hashnode&utm_medium=feed)

Macros are relatively easy to implement in Nasm x86-64. Without much ado, let us head straight to it. We have already seen how to print “Hello World” in Nasm x64. ; Print Hello World to screen in Nasm x64 section .data msg db "Hello World!", 0, ...

3 min read · [baremetal-bytes.hashnode.dev](https://baremetal-bytes.hashnode.dev/macros-in-nasm-x86-64?utm_source=hashnode&utm_medium=feed)
