Started playing with the opcode interpreter from advent of code, and got carried away. Wanted to see if I could modularise the design a little.
It does include my puzzle input, but you can change that easily in cmd/opcode.go
01
: add02
: mul03
: input04
: output05
: jump if true06
: jump if false07
: less than08
: equals09
: adjust relative base99
: halt
go run cmd/opcode.go
go test ./...