---
title: "Discussion on \"Working with Command Line Arguments in Nasm x86_64\" | Hashnode"
description: "Discussion on \"Working with Command Line Arguments in Nasm x86_64\". 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\nmov r8, [rsp] ; Get the number of command line arguments and move it to r..."
url: "https://hashnode.com/posts/working-with-command-line-arguments-in-nasm-x8664/6904304b4dd0f7716cd20365"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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...

Oct 31, 2025 · 2 min read · baremetal-bytes.hashnode.dev  
Read the article

-   [#nasm-x64](https://hashnode.com/tag/nasm-x64)

## Written by

[Rawley Amankwah](https://hashnode.com/@rawleyperetz)

@rawleyperetz · DE

  
[View profile](https://hashnode.com/@rawleyperetz)

A Curious Mathematician

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
