Skip to content

an attempt on AoC2020 using bare (syscalls-only) x86_64 assembly (with gas)

Notifications You must be signed in to change notification settings

denizmsayin/aoc2020-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Is this suffering?

My own attempt at Advent of Code 2020 using x86_64 assembly, assembled with GAs.

For extra pain, I only use 64-bit Linux syscalls and disallow myself the use of the C standard library.

Executables contain both part 1 and part 2. 2 needs to be passed as the second argument to run part 2 of a day:

$ ./day2    # runs part 1
$ ./day2 1  # runs part 1
$ ./day2 2  # runs part 2

Utilities in other languages for helping with development (under utils/):

  • str2val: A tiny C program that shows first 1/2/4/8 bytes of strings as integers.

About

an attempt on AoC2020 using bare (syscalls-only) x86_64 assembly (with gas)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published