Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 25817

Echo: Print the first positional argument (written in ASM)

$
0
0

README.md

echo prints the first positional argument to stdout.

Usage

echo foo

Build

The following steps work on Linux machines.

Compile:

nasm -f elf32 echo.asm

Link:

ld -m elf_i386 -s -o echo echo.o

Viewing all articles
Browse latest Browse all 25817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>