advent-of-code/2019/Scala/day07/intcode/opcode/Output.scala

8 lines
191 B
Scala
Raw Normal View History

2019-12-07 18:49:02 +01:00
package day07.intcode.opcode
trait Output extends OpCode
{
/** Executes instruction for given parameters and modes */
def output(tape: Array[Int], param1: Int, mode1: Int): Int
}