8 lines
204 B
Scala
8 lines
204 B
Scala
|
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
|
||
|
}
|