Skip to content

Instantly share code, notes, and snippets.

@Stevie-O
Last active December 10, 2022 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stevie-O/ac1f74840bd8ccf34d4207a13cf6c9c8 to your computer and use it in GitHub Desktop.
Save Stevie-O/ac1f74840bd8ccf34d4207a13cf6c9c8 to your computer and use it in GitHub Desktop.
ElfCom program for AOC 2022 Day 10. Initial value for X must be set to 2.
addx 1
addx 4
noop
noop
addx 3
addx -1
addx 5
addx -1
addx 6
addx 1
addx 1
addx 4
addx 1
addx 1
addx 4
addx 1
addx 2
addx 3
addx 2
addx 2
addx -38
addx -2
addx 6
noop
noop
addx 2
noop
noop
addx 2
addx 5
addx 3
addx -2
addx 5
addx -1
addx 2
addx 6
addx -2
addx 6
addx 2
addx 2
addx 2
addx 2
addx -38
addx -2
addx 6
noop
noop
addx 2
noop
noop
addx 2
addx 6
addx -2
addx 2
addx 6
addx -2
addx 2
addx 6
addx 2
addx 2
addx -2
addx 6
addx 2
addx 2
addx -38
addx -2
addx 6
addx 1
addx 1
addx 4
noop
noop
addx 2
noop
noop
addx 2
addx 6
addx -2
addx 2
addx 6
addx -2
addx 2
addx 6
addx -2
addx 6
addx 2
addx -39
addx 1
addx 4
addx 2
addx -2
addx 6
addx -2
addx 6
addx -2
addx 5
addx 1
addx 4
addx 1
addx 1
addx 4
addx 1
addx 1
addx 4
addx 2
addx 2
addx -38
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx 2
addx -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment