Added comment about predicate context

This commit is contained in:
Michał Isalski
2026-09-03 20:40:19 +02:00
committed by ShatteredMINT
parent a3f74a1f05
commit 0894cdca40
+1 -1
View File
@@ -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