Update OpCode6.scala

This commit is contained in:
kamoshi 2019-12-09 22:21:05 +01:00 committed by GitHub
parent f620d03737
commit a802558779
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,12 @@
package intcode.opcode
/**
* Jump-If-False
* If the first parameter is zero, it sets the instruction pointer to the value from the second parameter.
* Otherwise, it does nothing.
*
* checkConditionAndJump -> returns boolean for condition and int for pointer
*/
case object OpCode6 extends Jump
{
/** length of an instruction */