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

8 lines
210 B
Scala
Raw Normal View History

2019-12-09 11:08:57 +01:00
package day09.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
}