package
0.0.0-20241212071515-61db8a03137f
Repository: https://github.com/adsmf/adventofcode.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
M19 sets the behaviour of the intcode machine to AoC 2019 rules.
NewMachine creates a new intcode machine.

# Constants

ExecRCHCF indicates that the machine should Halt and Catch Fire.
ExecRCInterrupt indicates that operation triggered an interrupt.
ExecRCInvalidInstruction indicates an invalid instruction execution was attempted.
ExecRCNone indicates a normal (non-halting) operation.
M19RegisterOutput is the register used to store the last value output.
M19RelativeBase is the offset used for relative mode operations.
RegisterInstructionPointer register stores the current processor instruction pointer.

# Structs

Machine is a virtual machine capable of running intcode (e.g.

# Type aliases

ExecReturnCode represents the return code from executing an operation.
InputCallback is the function to be used by the processor to retrieve new input.
MachineOption defines configuration options that can be applied to an intcode machine.
OutputCallback is the function called by the processor when a value is output.