Added find_index array function #9

Merged
ShatteredMINT merged 17 commits from Micha_i/symphony_stdlib:array-functions into main 2026-09-03 20:30:10 +02:00
Showing only changes of commit a02f0646b4 - Show all commits
+1 -1
View File
@@ -23,7 +23,7 @@ pub find_index:
push r13 ; We save up the return address because we will provide our own to the predicate push r13 ; We save up the return address because we will provide our own to the predicate
counter r13 counter r13
add r13, r13, 40 ; Point to just after the predicate call - we can set this up now so we don't waste loop cycles add r13, r13, 52 ; Point to just after the predicate call - we can set this up now so we don't waste loop cycles
mov r8, 0 mov r8, 0
not r8, r8 ; We create a mask of 0xFFFFFFFF not r8, r8 ; We create a mask of 0xFFFFFFFF