Skip to content

idogada-akamai/argument-counter-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Write a program in assembly language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 78.4%
  • Makefile 20.2%
  • Dockerfile 1.4%