diff --git a/docs.md b/docs.md index 17ad1cc..8043a68 100644 --- a/docs.md +++ b/docs.md @@ -1,6 +1,6 @@ # Click4 Documentation -__v12 #fbc68c1__ +__v15 #6a46a47__ ## 0: NOP @@ -39,7 +39,7 @@ __v12 #fbc68c1__ ## 5: NAND -* Info: NAND the values of registers defined by ARG1 and ARG2 and store in register defined by ARG0. +* Info: NAND the values of registers defined by ARG2 and ARG3 and store in register defined by ARG1. * Args: 3 * Color: 182,255,0 * Sound: Note C# [Cs.wav] diff --git a/src/ops.lua b/src/ops.lua index 7e43be2..7cea11c 100644 --- a/src/ops.lua +++ b/src/ops.lua @@ -54,7 +54,7 @@ table.insert(ops,{ table.insert(ops,{ label = "NAND", - info = "NAND the values of registers defined by ARG1 and ARG2 and store in register defined by ARG0.", + info = "NAND the values of registers defined by ARG2 and ARG3 and store in register defined by ARG1.", exe = function(self) local a = self.registers[ self.args[2] ] local b = self.registers[ self.args[3] ]