class

AoC2019::Day5::Computer

Inherits Reference < Object

Constructors

new(*, io_in : IO = STDIN, io_out : IO = STDOUT, debug_mode : Bool = false)
Source

Instance methods

check_last_test_result
Source
debug
Source
equals
Source
error(message)
Source
get_params(*modes : ParametorMode)
Source
halt
Source
input
Source
jump_if_false
Source
jump_if_true
Source
jump_to(pointer : Int32)
Source
less_than
Source
memory_initialize(program : String)
Source
multiply
Source
opcode
Source
output
Source
parameter_modes
Source
parse_opcode
Source
process_current_instruction
Source
read(pointer : Int32, parameter_mode : ParametorMode)
Source
run(program : String)
Source
step_forward(step : Int32)
Source
write(pointer : Int32, value : Int32)
Source

Nested types