A simulation of a 'Cardiac computer' written in Rust. One of my first forays into Rust Simulates memory, process counter, accumulator, and CPU. Load machine code straight into memory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CardiacSim/output.txt

3928 lines
63 KiB

Current State:
Process Counter: 0
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 1]
New State:
Process Counter: 1
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 1
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 2
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 2
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 3
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 3
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 4
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 4
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 5
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 5
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 1]
New State:
Process Counter: 6
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 6
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 7
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 7
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 4]
New State:
Process Counter: 8
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 8
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 9
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 9
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [0, 0]
New State:
Process Counter: 10
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [5, 4]
OUTPUT: 1
New State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [5, 4]
OUTPUT: 4
New State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [5, 4]
OUTPUT: 9
New State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [5, 4]
OUTPUT: 16
New State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [5, 4]
OUTPUT: 25
New State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [3, 24]
New State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [9, 0]
PROGRAM COMPLETE
Process Counter: 0
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Current State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Current State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [5, 4]
OUTPUT: 1
New State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Current State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Current State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [5, 4]
OUTPUT: 4
New State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Current State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Current State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [5, 4]
OUTPUT: 9
New State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Current State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Current State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [5, 4]
OUTPUT: 16
New State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Current State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Current State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [5, 4]
OUTPUT: 25
New State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [3, 24]
New State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [9, 0]
PROGRAM COMPLETE
Process Counter: 0
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: ()
Current State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [5, 4]
OUTPUT: 1
New State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: ()
Current State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [5, 4]
OUTPUT: 4
New State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: ()
Current State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [5, 4]
OUTPUT: 9
New State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: ()
Current State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [5, 4]
OUTPUT: 16
New State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: ()
Current State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: ()
Current State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [5, 4]
OUTPUT: 25
New State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: ()
Current State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [3, 24]
New State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: ()
Current State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [9, 0]
PROGRAM COMPLETE
Process Counter: 0
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 1
Current State:
Process Counter: 11
Accumulator: 0
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 2
Current State:
Process Counter: 12
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 3
Current State:
Process Counter: 13
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 4
Current State:
Process Counter: 14
Accumulator: 1
w: [0, 0] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 5
Current State:
Process Counter: 15
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 6
Current State:
Process Counter: 16
Accumulator: 0
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Cycles: 7
Current State:
Process Counter: 17
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 0] | z: [0, 4]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: 8
Current State:
Process Counter: 18
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: 9
Current State:
Process Counter: 19
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Cycles: 10
Current State:
Process Counter: 20
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 4]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 11
Current State:
Process Counter: 21
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [5, 4]
OUTPUT: 1
New State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 12
Current State:
Process Counter: 22
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 13
Current State:
Process Counter: 23
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 14
Current State:
Process Counter: 10
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 15
Current State:
Process Counter: 11
Accumulator: 1
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 16
Current State:
Process Counter: 12
Accumulator: 2
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 17
Current State:
Process Counter: 13
Accumulator: 3
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 18
Current State:
Process Counter: 14
Accumulator: 4
w: [0, 1] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 19
Current State:
Process Counter: 15
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 20
Current State:
Process Counter: 16
Accumulator: 1
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Cycles: 21
Current State:
Process Counter: 17
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 1] | z: [0, 3]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: 22
Current State:
Process Counter: 18
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: 23
Current State:
Process Counter: 19
Accumulator: 3
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Cycles: 24
Current State:
Process Counter: 20
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 3]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 25
Current State:
Process Counter: 21
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [5, 4]
OUTPUT: 4
New State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 26
Current State:
Process Counter: 22
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 27
Current State:
Process Counter: 23
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 28
Current State:
Process Counter: 10
Accumulator: 2
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 29
Current State:
Process Counter: 11
Accumulator: 4
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 30
Current State:
Process Counter: 12
Accumulator: 5
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 31
Current State:
Process Counter: 13
Accumulator: 7
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 32
Current State:
Process Counter: 14
Accumulator: 9
w: [0, 4] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 33
Current State:
Process Counter: 15
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 34
Current State:
Process Counter: 16
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Cycles: 35
Current State:
Process Counter: 17
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 2] | z: [0, 2]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: 36
Current State:
Process Counter: 18
Accumulator: 3
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: 37
Current State:
Process Counter: 19
Accumulator: 2
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Cycles: 38
Current State:
Process Counter: 20
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 2]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 39
Current State:
Process Counter: 21
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [5, 4]
OUTPUT: 9
New State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 40
Current State:
Process Counter: 22
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 41
Current State:
Process Counter: 23
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 42
Current State:
Process Counter: 10
Accumulator: 1
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 43
Current State:
Process Counter: 11
Accumulator: 9
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 44
Current State:
Process Counter: 12
Accumulator: 10
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 45
Current State:
Process Counter: 13
Accumulator: 13
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 46
Current State:
Process Counter: 14
Accumulator: 16
w: [0, 9] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 47
Current State:
Process Counter: 15
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 48
Current State:
Process Counter: 16
Accumulator: 3
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Cycles: 49
Current State:
Process Counter: 17
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 3] | z: [0, 1]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: 50
Current State:
Process Counter: 18
Accumulator: 4
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: 51
Current State:
Process Counter: 19
Accumulator: 1
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Cycles: 52
Current State:
Process Counter: 20
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 1]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 53
Current State:
Process Counter: 21
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [5, 4]
OUTPUT: 16
New State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 54
Current State:
Process Counter: 22
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [3, 24]
New State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 55
Current State:
Process Counter: 23
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [8, 10]
New State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 56
Current State:
Process Counter: 10
Accumulator: 0
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 4]
New State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 57
Current State:
Process Counter: 11
Accumulator: 16
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 58
Current State:
Process Counter: 12
Accumulator: 17
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 59
Current State:
Process Counter: 13
Accumulator: 21
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 6]
New State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 60
Current State:
Process Counter: 14
Accumulator: 25
w: [0, 16] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 4]
New State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 61
Current State:
Process Counter: 15
Accumulator: 25
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [1, 6]
New State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 62
Current State:
Process Counter: 16
Accumulator: 4
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [2, 5]
New State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Cycles: 63
Current State:
Process Counter: 17
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 4] | z: [0, 0]
Instruction: [6, 6]
New State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: 64
Current State:
Process Counter: 18
Accumulator: 5
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [1, 7]
New State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: 65
Current State:
Process Counter: 19
Accumulator: 0
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [7, 0]
New State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Cycles: 66
Current State:
Process Counter: 20
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, 0]
Instruction: [6, 7]
New State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: 67
Current State:
Process Counter: 21
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [5, 4]
OUTPUT: 25
New State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: 68
Current State:
Process Counter: 22
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [3, 24]
New State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Cycles: 69
Current State:
Process Counter: 24
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]
Instruction: [9, 0]
PROGRAM COMPLETE
Process Counter: 0
Accumulator: -1
w: [0, 25] | x: [0, 1] | y: [0, 5] | z: [0, -1]