From f4a2fc4bf02c9df8081bd1e73f68ffcd54634eca Mon Sep 17 00:00:00 2001 From: kamoshi <18511281+kamoshi@users.noreply.github.com> Date: Mon, 9 Dec 2019 22:14:46 +0100 Subject: [PATCH] Update OpCode8.scala --- 2019/Scala/intcode/opcode/OpCode8.scala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/2019/Scala/intcode/opcode/OpCode8.scala b/2019/Scala/intcode/opcode/OpCode8.scala index cdadfce..d978e84 100644 --- a/2019/Scala/intcode/opcode/OpCode8.scala +++ b/2019/Scala/intcode/opcode/OpCode8.scala @@ -1,5 +1,10 @@ package intcode.opcode +/** + * Equals + * If the first parameter is equal to the second parameter, it stores 1 in the position given by the third parameter. + * Otherwise, it stores 0. + */ case object OpCode8 extends Action { /** length of an instruction */