package
0.0.0-20191230163237-a30599c1cba0
Repository: https://github.com/mjm/advent-of-code-2019.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
LoadFromString parses an Intcode program from a string and loads it into a new VM.
NewVM creates an Intcode VM with the given memory values already set.
# Constants
ModeImmediate indicates the parameter's value should be used directly, and does not correspond to another address in memory.
ModePosition indicates the parameter's value refers to an absolute address memory.
ModeRelative indicates the parameter's value refers to an offset from the VM's current relative base.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
The supported opcodes for this Intcode interpreter.
# Structs
Instruction is a single instruction read from the memory of a VM.
Param is a single parameter from an Intcode instruction.
VM is an Intcode virtual machine.