Skip to content

mauri870/assembly-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Problems

Build Status

Some fun in assembly Linux x64

Requirements

yaourt -S yasm bash-bats
# or
sudo add-apt-repository ppa:duggan/bats
sudo apt-get update
sudo apt-get install make yasm bats

Compilation

# The program is a subfolder in src/
PROGRAM=yes make
./bin/yes | pv -r > /dev/null
[5,85GiB/s]

# Same performance as GNU yes on my machine ;)
yes | pv -r > /dev/null
[5,81GiB/s]

Tests

make test

# to run a single test
TEST=yes make test

Docker

docker build -t problems-assembly .
docker run -it --rm -v $(pwd):/var/data -w /var/data problems-assembly bash