diff --git a/array.asm b/array.asm index c6e34d5..13dfc4b 100644 --- a/array.asm +++ b/array.asm @@ -5,7 +5,7 @@ ; r4 - The predicate ; r5 - Predicate context ; The predicate function should follow the stdlib calling convention -; and receive one argument and return either a zero when the value is not the one we search for +; The predicate receives two arguments (the value and the predicate context) and should return either a zero when the value is not the one we search for ; , or any other result if it is the searched-for item. pub find_index: push r12 ; We will store the predicate pointer here