Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 574 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 574 Bytes

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.