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

8 lines
204 B
Scala
Raw Normal View History

2019-12-09 13:20:04 +01:00
package intcode.opcode
trait Output extends OpCode
{
/** Executes instruction for given parameters and modes */
def output(tape: Array[Long], relative: Long, param1: Long, mode1: Int): Long
}