Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 996 Bytes

README.md

File metadata and controls

43 lines (33 loc) · 996 Bytes

Summary

Goal started out to Write a trivial program in x86_64 assembly language.

This program prints out the number of arguments provided to the program and prints them out to the terminal.

nasm is used for compiling the program, ld for linking and gdb for debugging. Docker is used to containerize the workflow within an alpine-linux image.

See the wiki with process, learnings and guidance here

Dependencies

Run and Debug on Docker

Build Image

make build-image

Compile and Link

make build

Build and Run the executable

make run

Build and Run with Arguments

make run-with-args args="arg1 arg2 arg3"

Build and Debug

make debug

Run the Container Attached via Terminal

make run-container