Created
December 11, 2020 20:23
-
-
Save mjgpy3/4d0ddcd071938d0aa0274dca26380ad4 to your computer and use it in GitHub Desktop.
aoc-2020-day8-dsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program at ./y2020d8.txt | |
with instructions | |
jmp {offset:num} means jump offset away | |
acc {amount:num} means set state to (state + amount) | |
nop {v:num} means noop | |
registers start at 0 | |
global register named state | |
solution | |
run_until_cycle | |
| register state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment